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 are the 3 standard streams in linux?
How do I save a powershell script?
What is the syntax of while loop in shell scripting?
What are script files?
What is shell variable?
What is a shell made of?
Write down the syntax of "for " loop
How to open a read-only file in the shell?
What does echo mean in scripting?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is the meaning of $1 in shell script?
How do I set bash as default shell mac?
What is shell application?
Why is used in shell scripting?
How do I open a jshell in cmd?