Backup with versioning

& 'C:\cwRsync_5.5.0_x86_Free\bin\rsync.exe' --force --ignore-errors --no-perms --chmod=ugo=rwX --checksum --delete --backup --backup-dir="_EVAC/$(Get-Date -Format "yyyy-MM-dd-HH-mm-ss")" --whole-file -a -v "//MyServer/MyFolder" "/cygdrive/c/Backup"

1 Alternatives + Submit Alt

  • Apart from an exact copy of your recent contents, also keep all earlier versions of files and folders that were modified or deleted. Inspired by the excellent EVACopy Show Sample Output

    backup() { source=$1 ; rsync --relative --force --ignore-errors --no-perms --chmod=ugo=rwX --delete --backup --backup-dir=$(date +%Y%m%d-%H%M%S)_Backup --whole-file -a -v $source/ ~/Backup ; } ; backup /source_folder_to_backup
    pascalv · 2018-08-02 21:27:29 0

What Others Think

Wao I really did not know about this keyboard technique.I would like to share this post with my friends a well to learn some betting tips here.
shellianlock · 89 weeks and 3 days ago
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good van rental miami work. I have been meaning to write something like this on my website and you have given me an idea.
MorrisStuart · 71 weeks ago
The way of writing a review is unique and different from others.There are many options for discovering the secret of the critical satellite imaging and remote sensor data. With the mods de jogos hentai you could have a chance to play your favorite games in online.Thanks for sharing this post.
jenifferpoteet · 70 weeks and 2 days ago
I find this very useful. Thanks! I will keep this code for future reference. I have a friend who helps me with stuff like this and I will tell this to him. I think he still doesn't know this. My friend and I also love to play games when we have no work. He was the one who told me to play gacha club, the sequel to gacha life. Later, we will check out spades plus to see if we can fit it in our gaming schedule.
jyclly · 65 weeks and 4 days ago
great content! will recommend this site to my friends breast reduction surgery minneapolis
looneyhans · 58 weeks and 2 days ago
works well. thanks
looneyhans · 53 weeks and 5 days ago
lovely! very wonderful!
Killersmile · 53 weeks and 2 days ago
Great! didnt know about this before, laser hair removal I had doubts but thanks for clarifying.
idasanka · 49 weeks ago
doula jacksonville fl I need to know more
yeoyeo · 47 weeks and 3 days ago
love this soo much! pray
sammm · 44 weeks and 2 days ago
Thank you for some other informative website [url=][/url]. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info.
SueParks · 39 weeks and 5 days ago
Such a great piece of information you have shared with us I will love to bookmark it to get more valuable information. Keep it up.! Regards, Shaikh sahab billing software in uae
Devid · 36 weeks and 3 days ago
Thanks! A Lot! Love this site! financial advisor oxnard
aegyjingoo · 35 weeks and 2 days ago
That's a good thing, I hope you will add more information word finder
jedacandy · 33 weeks and 3 days ago
I gotta favorite this website it seems very helpful .">wholesale ISO program
hiknigarde · 24 weeks and 5 days ago
ceramic cookware sets would be much preferable when you are cooking some certain foods~ ab-fubinaca
robinjack · 17 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: