Results 1 to 2 of 2
Dear All,
My manager askmed me to find out all the jpg files in a directory and copy to another destination directory.I tried to write a shell script.But the problem ...
- 06-03-2009 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 13
Shell Script to search and copy jpg to Another Folder.
Dear All,
My manager askmed me to find out all the jpg files in a directory and copy to another destination directory.I tried to write a shell script.But the problem is this source directory contains thousands of subdirectories.The jpg files resides in all of these directories.We have to search inside all these sub directories.I am reallyconfused.Can Any one help me.I am only a beginner to Shell scripting.Thanking YoU
- 06-03-2009 #2
Use 'find' command. Now its upto you to read the manpage for syntax, get the work done and make your manager happy.
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076


Reply With Quote