![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix shell script for finding top ten files of maximum size | abhilashnair | UNIX for Dummies Questions & Answers | 10 | 02-17-2008 10:50 PM |
| Help with finding files | bbbngowc | Shell Programming and Scripting | 1 | 12-10-2007 04:36 PM |
| finding duplicate files by size and finding pattern matching and its count | jerome Sukumar | Shell Programming and Scripting | 2 | 12-01-2006 01:20 AM |
| finding files in Unix | xiamin | Shell Programming and Scripting | 7 | 12-26-2005 03:18 AM |
| Finding files with UTF-8 BOM | kotoponus | UNIX for Dummies Questions & Answers | 0 | 05-20-2005 06:28 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I need help with the syntax to serach a directory and all the folders in that directorys for a single pdf file. I would than like to move that file to another folder. I don't know if this is possible with one command. Please Help.
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
%xargs cp << end
`find . -depth -name a.pdf -print` `echo ./test/.` end Please ensure that there are no 2 copies Last edited by DPAI; 07-13-2001 at 01:53 PM. |
|
#3
|
|||
|
|||
|
try this
find /DirectoryName -name "xxx.pdf" -exec mv {} /WhereFileGoes \; i.e. find /project/unix -name "test.pdf" -exec mv {} /team \;
__________________
:rolleyes: |
|||
| Google The UNIX and Linux Forums |