[clue-tech] rsync with flashdrive

Adrian F. Nagle, IV anagle at naglenet.org
Thu Aug 6 07:38:29 MDT 2009


Is there a trick with rsync to update files onto the flash-drive?

Every quarter, I back up important files onto a flash drive and stick it in a safe deposit box.  I have a directory with the entire flashdrive contents, which includes my encrypted files, as well as PortableApps with software to read the files.  I used to simply 'cp -R' everything onto the drive, but with PortableApps and OpenOffice, it takes a long time.

So, I'm trying to use rsync.  My first attempt was with 'rsync -av --delete source/ dest/'.  I received a bunch of chgrp permissions could not be changed.  I decided that was a result of the archive option and the FAT formatted flash-drive.  So I ran 'rsync -r --delete source/dest/' which I think worked.  At some point one of my files matched up with the source.  However, there is at least another file that did not get updated (has a date from April, and it should be Aug.).

I would like to find the proper trick to use rsync for my flash-drive and  preserve as much info as possible (like file mod date).  I was surprised when it did not work the second time.

Adrian
-- 
Adrian Nagle ~ anagle at naglenet.org


More information about the clue-tech mailing list