I've written a little shell script on my Linux Mint install to save me having to copy things into my Dropbox folder by hand. I'm posting it here more for my future self, but anyone else can use if it they like. I cannot stop you.
cp -p -r -u "directory to copy from"* "directory to copy to"
This script should check to see if the files in backup are out of date, and copy them over if they are. But I'm not a code wizard, I'm sure someone could do better.
No comments:
Post a Comment