I just accidentally deleted a file. Nothing major. But I just never assumed this command was dangerous and could lead to file loss used like this:

rsync -aP --remove-source-files path/to/file ./

My mistake you might ask? Well... I accidentally fired the command while being in the same path as the file.

Well, just another 10 minutes of downloading again, but still. Damn. Unexpected.

Add Comment