1

tar files from opt folder with out copying

view story
linux-howto

http://unix.stackexchange.com – This should be very simple for experts in here. I have a Linux account with user disk quota of only 6GB. There is some data-folder in /opt with about 3GB of data with when compressed comes up 1GB. There are some symbolic links with in data-folder. Usually for taking a work backup I used to do the following. cp -rvfL /opt/data-folder ~/ cd ~/ tar -zcvf data-folder.tar.gz data-folder rm -rvf data-folder Now I have already consumed 2.5GB in my user disk quota, I have just enough space to copy files to my homw, but not to tar it again. Is there any way to tar and copy the folder with in a sin (HowTos)