Quantcast
Channel: Zip a folder while copying it - Unix & Linux Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by LuxGiammi for Zip a folder while copying it

Instead of copying the folder you could just zip it by using tar specifying the path of the target file: you could try tar -zcvf /mnt/new_folder.zip /mnt/myfolder the tar program does not replace your...

View Article



Zip a folder while copying it

Is it possible to zip a folder while copying it? I want to copy a folder and then zip it, but this implies that I need for a while twice the space in my /mnt path, right? /bin/cp -r /mnt/myfolder...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images