Tips / Linux
Compress directory
Author: Katrame
Visits: 1693
Date: 13.02.2008
Author: Katrame
Visits: 1693
Date: 13.02.2008
# for i in `ls` `pwd`;do tar -cpzf `pwd`/$i.tar.gz `pwd`/$i;done
This command allow you to cycle on the current directory (pwd command) and creating relative tar.gz archive of the dir.
Page 1 of 1
Se vuoi discutere con noi su questo articolo o comunque vuoi porci delle domande usa il nostro Forum

