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
I want to connect to a remote server and execute some commands, how can I achieve this?
What is batch file programming?
What is shell geeksforgeeks?
What are the four fundamental components of every file system on linux?
What does $@ mean in shell?
What is shift command in shell script?
What is web script?
What are the different types of commonly used shells on a typical linux system?
What is awk script?
What is another name for a bash shell script that you might see?
What does $@ mean bash?
How do I set bash as default shell mac?
What is the significance of the shebang line in shell scripting?
State the advantages of shell scripting?
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command