1)If source file is already present than just zip it by giving target file location this copies as well as zips
2) if source file is being created(data being written) than use fifo pipes and direct it to gzip -c which will create compressed files on the fly.. Now tell us what you are looking at
In reply to Re: Zip files while copying
by ramprasad27
in thread Zip files while copying
by calsaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |