rsync -ilvrn <localdir> <remotedir>
) and then use the above diff command to compare them.
Thursday, October 24, 2013
Compare a local and a remote file using 'diff' and process substitution.
I don't think I've posted this one before:
I've been doing a lot of moving files around between local and remote servers and have made heavy use of the above idiom. First find the files that need to be manually inspected (
Subscribe to:
Posts (Atom)