HPC Lab
  • Home
  • HPC Launch
  • HPC Pipes
  • Workshop
  1. HPC Launch
  2. Day 2
  3. Archiving
  • HPC Launch
    • Welcome to the HPC-Launch workshop
    • Day 1
      • HPC setup
      • HPC file transfers
      • Git and Github
      • Project structure
    • Day 2
      • Package managers
      • Queueing systems
      • Archiving
      • Knowledge Checks
  • HPC Pipes
    • Welcome to the HPC-Pipes workshop
    • Day 1
      • Day 1 - Part 1
      • Day 1 - Part 2
    • Day 2
      • Day 2 - Part 3
      • Day 2 - Part 4
      • Day 2 - Part 5
  • UCloud setup
    • UCloud project workspace
    • SSH on UCloud
    • GitHub on UCloud
    • Conda on UCloud

On this page

  • Project Archiving using tar
  1. HPC Launch
  2. Day 2
  3. Archiving

Archiving

Project Archiving using tar

  1. Use the command tar to compress the hpcLaunch folder on UCloud
  2. Check the size of the folder and compare it to the uncompress version. Use the du command (disk usage)
  3. Without unpacking the file, print the “table of contents”
  4. Unpack and save it to a new directory day1-copy
  5. Transfer the compress folder locally and calculate the resources in time (rsync --progress).
  6. Now, do the same for the uncompress version
HintSolution
  1. 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