Assume your UCR Net ID is abcd012
and it is lab 1
. Change abcd012
to your own UCR Net ID, and change the lab number accordingly in all places.
The archive file name must be either abcd012_lab1.tar.gz
or abcd012_lab1.zip
.
Folder(s) and file(s) to include (just for example, you should use the actual file list for the corresponding lab):
- src/
- pom.xml
- run.sh
- README.md
To create .tar.gz
file, run the following command in your project folder (abcd012_lab1
):
tar -czf abcd012_lab1.tar.gz src pom.xml run.sh README.md
To create .zip
file, run the following command in your project folder (abcd012_lab1
):
zip abcd012_lab1.zip -ur src pom.xml run.sh README.md
MacOS may create some hidden systems files which you shall not include in your submission. You should run one more command to remove those files before making the archive.
To create .tar.gz
file, run the following commands in your project folder (abcd012_lab1
):
find src -name ".*" -exec rm -fr {} \;
tar -czf abcd012_lab1.tar.gz src pom.xml run.sh README.md
To create .zip
file, run the following commands in your project folder (abcd012_lab1
):
find src -name ".*" -exec rm -fr {} \;
zip abcd012_lab1.zip -ur src pom.xml run.sh README.md
- In Windows Explorer, select the
src
folder,pom.xml
file,run.sh
file andREADME.md
file. - Right-click, and choose "Send-To" -> "Compressed (Zipped) folder".
- Rename the compressed file name after it is created to
abcd012_lab1.zip
.
- Run the following command
tar -a -c -f abcd012_lab1.zip src pom.xml run.sh README.md