File Storage and Compression
quota
Luria has a disk usage quota on the head node. You can use the
quota
command to check what the size of the quota is and how much space you're currently using.The
-s
flag will display the quota in a human-readable format. (e.g. 18K, 14M, 65G).
du
Stands for "disk usage". Reports how much disk space a directory is taken up.
Defaults to displaying the disk usage in kilobytes, but passing it the
-h
flag will return disk usage in a human-readable format. (e.g. 18K, 14M, 65G).Will search the entire depth of the Unix tree starting from the directory you give it. You can control the depth which it searches by passing the
-d <num>
flag.
tar
Combines multiple files or directories into one archive for easy sharing. Similar to "zipping" files, however tar does not compress by default.
Create an archive by passing the
-cf
flagsCan compress multiple files/folders using
gzip
by passing the-z
flag when creating a new archive.Useful when you have files that take up a lot of space and you want to save space.
Extract an archive by passing the
-xf
flags. Un-compress an archive by passing the-z
flag to those two flags.
zip
Zip multiple files and directories into one file. Zipping is similar to archiving with
tar
, but zipped files are easier to deal with on Windows machines.
Last updated