Hi,
i want to zip the files that generates automatically
every few minutes (files generated are in .arc
extension)....any body write a script for this...
thanks in advance
Answer Posted / vipul dalwala
while true
do
find . -name *.arc -exec gzip {} \;
sleep 300
done
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What does $$ mean in shell script?
What does .sh file contain?
How do you create a shortcut in linux?
What is the conditional statement in shell scripting?
What is the lifespan of a variable inside a shell script?
What is an inode block?
What exactly is a shell?
Tell something about the super block in shell scripting?
How do I run a script from command prompt?
What is an sh file?
How do I run a bin bash script?
Differentiate between ‘ and ” quotes.
How do I run a powershell script?
What is shell company all about?
Explain about return code?