On 22/05/17 10:52, steve-ALUG@hst.me.uk wrote:
q3) Am I right with this command line to do a "dry run" restore, i.e. show me what would copy, which is in effect, what is different between the USB disk and the live drive?
sudo rsync -av --dry-run /media/me/USBDrive/ / --log-file=LogToFile
-v = verbose -a = -rlptgoD =>r recursive l copy links as symlinks ptgo preserve permissions, times, group, owner D preserve device files & special files
--dry-run = do a dry run --list-only = list changes but don't do any --log-file log to file
is this right, or should I do i = itemise changes instead of dry-run?
Any help/advise welcomed.
Thanks Steve
It seems that sudo rsync -av --dry-run /media/me/USBDrive/ / outputs the files that have changed, at least in a test directory.