To manage ad-hoc directory backups & syncs to a remote server.
Yes and no.
If you already are paying for web hosting, then why pay for Drive or Dropbox? Lou helps you use the resources you already have.
Maybe you don't want to sync ALL your files to your work computer. Lou lets you sync only the stuff you want.
- Clone Lou somewhere appropriate.
- You might have chmod 755 lou.py
- Create a symlink:
ln -s /wherever_you_put/lou.py /somewhere_in_your_PATH/lou
- In lou.py, change HOST and ROOT_DIRECTORY to
you@yourhost.biz
andpath_to_sync_to
, respectively.
- Try Lou out by running
lou list
at the command line. This command lists the directories you've synced. There probably won't be any listed at this point. - In a directory you'd like to sync, execute
lou new dir_name
to create a remote directory "dir_name" andlou push
to push your local files to the remote host. - To pull files from a remote directory use the commaned
lou pull dir_name
where "dir_name" is the remote directory. Hint: uselou list
to see which remote directories are available to pull.
Lou is just a simple rsync wrapper. It doesn't muck with anything on your remote server other than creating new directories and rsyncing inside your ROOT_DIRECTORY path. Lou remembers where to rsync by creating a .lou file in the directories you have synced.