It's UWAweek 10 (1st semester, week 2)


This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 3 other people reading this forum.

 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

5:06am Wed 4th Oct, Christopher M.

"Nicholas Mulyawan" <23*4*7*4@s*u*e*t*u*a*e*u*a*> wrote:
> I understand that the -n option asks for what files I want to copy so I'm assuming the specified files only move from one directory to the another in a one-sided manner..?
Hi Nicholas, You have a misunderstanding here. Requesting -n does not "ask" for anything (there's nothing interactive about the mysync program once it has started). Providing the -n option requests that everything occurs in the standard way, except that files are not actually copied/synced. There's an equivalent option for the standard make utility: -n, --just-print, --dry-run, --recon Print the commands that would be executed, but do not execute them. The files to be synched between 2 (or more directories) can be copied in each direction. If you think of each top-level directory has a 'set' of files, the final result of synching is that the 'union' of all files exist in each top-level directory.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy