![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find command in while loop - how to get control when no files found? | mavsman | Shell Programming and Scripting | 3 | 04-03-2008 12:44 PM |
| Little bit weired : Find files in UNIX w/o using find or where command | jatin.jain | Shell Programming and Scripting | 10 | 09-19-2007 07:47 AM |
| awk command to find the count of files ina directory | sish78 | Shell Programming and Scripting | 11 | 07-19-2007 09:00 AM |
| Problem with files returned using Find command | dfb500 | UNIX for Dummies Questions & Answers | 3 | 12-12-2006 12:00 AM |
| find files and using them as input arguements for another command | bobbygrep | UNIX for Dummies Questions & Answers | 1 | 07-18-2001 06:24 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I am attempting to rename files in a directory tree, using the find command: find . -name "file-src*" -exec mv {} file-tgt \; however, this only moves the file to the current dir: I have also tried: mv 'find . -name file-src' file-tar find . -name "file-src*" -exec mv {file-tgt} \; etc, but to no avail. Any help would be appreciated. ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|