I’m trying to use the ‘sync’ command to sync a local and remote directory, but when I do so and there are a large number of files in the directories being compared, it never seems to complete. When I run the command with the -v option, it seems stuck at “INFO: Verifying attributes…” There are about 350 files in the remote directory, and slightly more in the local directory. The files are media files (movies), and so are somewhat big (~100 MB each). I’ve never seen it finish (even after waiting upwards of 20 minutes) – is it reasonable that it would take a very long time to do this, or is something else wrong? If so, is there a workaround?
Never mind - I just read the sync documentation and saw the -skip-existing flag, and that solves my problem. RTFM indeed.
Log in to post a comment.