目录
zip命令
$ zip -r foo foo1 foo2 #-r recursive-paths
travel the directory structure recursively;
multiple source directories are allowed as in above example,
which first zips up foo1 and then foo2, going down each directory
unzip命令
$ unzip mydata.zip -d exdir
extract to directory
du命令:
estimate size of a file
Size of a directory:
$ du -sh /tmp
Size of a file:
$ du -h /tmp/xyz