![]() |
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 |
| String substitution on find results inside exec/xargs | myndcraft | Shell Programming and Scripting | 2 | 05-17-2008 02:36 PM |
| Difference between xargs and exec | vibhor_agarwali | UNIX for Dummies Questions & Answers | 19 | 06-09-2005 07:54 AM |
| Help with xargs | JimJim | UNIX for Dummies Questions & Answers | 4 | 02-08-2005 07:08 PM |
| use of xargs command | kishorebabu | UNIX for Dummies Questions & Answers | 5 | 10-30-2003 02:53 PM |
| xargs | jpprial | UNIX for Dummies Questions & Answers | 4 | 09-17-2001 08:29 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
MV files with xargs or -exec
Hi
I need to move multiple (say 10 files) from one location to another location. My selection would be like this... ls -ltr *.arc | head ---> Need to move top 10 files with single command without iterating in loop. I know we can move files like this with find command but not sure if I can move top 10 files in any directory to another one. Any help would be appreciated. - Malay |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|