DigiCrime
11-08-2002, 06:57 AM
How do I zip up ALL files in one directory and then unzip them into another directory?
![]() | View Full Version : gziping files DigiCrime 11-08-2002, 06:57 AM How do I zip up ALL files in one directory and then unzip them into another directory? clockwork 11-08-2002, 09:20 AM man tar man gzip allera 11-08-2002, 10:32 AM tar -zcf <filename.tar.gz> </path/to/dir/to/"zip"> Ex: tar -zcf zipped.tar.gz /home That creates a gzipped tar file archiving everything in /home. To unarchive: tar -zxf <filename.tar.gz> As clockwork recommended, I'd read 'man tar' carefully. |