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

 UWA week 42 (2nd semester, week 12) ↓
SVG not supported

Login to reply

12:36pm Thu 19th Oct, Christopher M.

> Hi! Just wanted to ask what is the expected function of the program if we provide a directory twice e.g. > > ./mysync [options] Directory1 Directory1 Directory2 > > There's two options I can think of: > 1. Ignore the second "Directory1" > 2. Treat the second "Directory1" as an entirely different directory (even though we know this not to be true)
Firstly, we have said that your project will not be tested with cases where any particular filename appears in/below the same location of multiple top-level directories, and with identical modification times. That case would certainly result if a top-level directory was presented twice. (However, intuitively, if the same top-level directory was presented twice, then nothing would need synchronising, as each directory would be identical to itself).

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