Hi,
Have been trying to develop code that takes an input as a directory (lets say A1).
A1 contains 2 files foo.c & moo.c & a directory A2, which contains boo.c
The script is expected to drill down into each file inside the directory (& sub-directories) under it, & compress(zip) them & delete the original file.
So I want the output to loo like
A1-->foo.c.gz , moo.c.gz, A2
-------> boo.c.gz.
Anyone kind enough to help me out with this.Ive been trying for awhile now,but without success