It's UWAweek 52

help2002

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 2 other people reading this forum.


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

Login to reply

👍?
helpful
4:53pm Thu 5th Oct, Christopher M.

ANONYMOUS wrote:
> > i have a question and i will break it down into an example for ease of understanding > > assume this command: > >./mysync -r DirA DirB > > DirA has a subdirectory SubDirA > DirB has no subdirectories > SubDirA has a file File.txt > > with -r we need to recursively sync DirA and DirB > so that means syncing DirA/SubDirA/File.txt to DirB
> but -a isnt used so we cant make the missing SubDirA in DirB > what happens now?
I'm assuming that you meant "-r isnt used..." So, if not processing recursively, how/why did you get 'down to' SubDirA in the first place?
> also for -r is it recursive infinitely? do we sync one subdirectory down, or do we sync sub-subdir files in every subdir and so on?
Keep recursing until you run out of subdirectories to descend into.

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  8:08AM Aug 25 2024
Privacy policy