Archiving
Project Archiving using tar
- Use the command
tarto compress the hpcLaunch folder on UCloud - Check the size of the folder and compare it to the uncompress version. Use the
ducommand (disk usage) - Without unpacking the file, print the “table of contents”
- Unpack and save it to a new directory
day1-copy - Transfer the compress folder locally and calculate the resources in time (
rsync --progress). - Now, do the same for the uncompress version
HintSolution
- Use the -t flag, for the file specified with the -f flag followed by the filename
tar –ft mytarfile.tar
Copyright
CC-BY-SA 4.0 license