Coder Social home page Coder Social logo

oh-my-dotfiles's Introduction

Oh my dotfiles

Just a bunch of shell helpers for managing configuration and data across multiple machines

zsh-functions contains two functions for pushing data to/from cloud providers via rclone.
items are sync'd under a root directory and your current directory with $HOME removed

  /home/ashleyis/Development/projects/bob => root/Development/projects/bob

for example

Pushing files

➜  Development $ push
rs: --drive-use-trash --update --filter-from .rclone-filter . cloud:system/Development/
2016/05/14 02:59:57 Google drive root 'system/Development': Not making directory as dry run is set
2016/05/14 02:59:57 Google drive root 'system/Development': Building file list
2016/05/14 03:00:02 Google drive root 'system/Development': Waiting for checks to finish
2016/05/14 03:00:02 Waiting for deletions to finish
2016/05/14 03:00:02 projects/bindings-wlc/src/System/WLC/Types.hs: Not copying as --dry-run
2016/05/14 03:00:02 projects/bindings-wlc/src/Bindings/WLC/Wayland.hsc: Not copying as --dry-run
2016/05/14 03:00:02 projects/bindings-wlc/src/System/WLC/Internal/Types.hs: Not copying as --dry-run
2016/05/14 03:00:02 projects/oh-my-dotfiles/README.md: Not copying as --dry-run
2016/05/14 03:00:02 projects/bindings-wlc/Readme.md: Not copying as --dry-run
2016/05/14 03:00:02 projects/oh-my-dotfiles/zsh-functions: Not copying as --dry-run

Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                50
Transferred:           22
Elapsed time:        9.2s

does the above look okay? [y/N]:y
Transferred:        70105 Bytes (   0.95 kByte/s)
Errors:                 0
Checks:                50
Transferred:           22
Elapsed time:     1m12.3s

Pulling files

➜  oh-my-dotfiles $ pull
rs: --drive-use-trash --update cloud:system/Development/projects/oh-my-dotfiles/ .
2016/05/14 03:05:01 Local file system at /home/ashleyis/Development/projects/oh-my-dotfiles: Not making directory as dry run is set
2016/05/14 03:05:01 Local file system at /home/ashleyis/Development/projects/oh-my-dotfiles: Building file list
2016/05/14 03:05:03 Local file system at /home/ashleyis/Development/projects/oh-my-dotfiles: Waiting for checks to finish
2016/05/14 03:05:03 testing/Untitled document.docx: Not copying as --dry-run

Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 2
Transferred:            1
Elapsed time:        9.9s

does the above look okay? [y/N]:y
Transferred:         4303 Bytes (   0.96 kByte/s)
Errors:                 0
Checks:                 2
Transferred:            1
Elapsed time:        4.3s

➜  oh-my-dotfiles $ file testing/Untitled\ document.docx
testing/Untitled document.docx: Microsoft Word 2007+

oh-my-dotfiles's People

Contributors

aktowns avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.