|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
move command
Hi,
I am using SOLARIS 9. I am trying to move a huge number of files using the mv commands below- #mv inbuffer/* /tmp/inbuffer/ but system says arguments too long.. Could u please tell which command i need to put for moving AND copying ??? Many Thanks in advance-- Purple |
| Sponsored Links |
|
|
|
|||
|
there is a system defined limit for the number of arguments used for each of the commands you could try something like this Code:
ls files* | while read file do mv "$file" ../otherdirectory/. done |
|
|||
|
re:move command not yet solved
Hi matrix,
movehugefiles not yet solve. I did the follwoing things.. #vi movehugefiles.sh #!/usr/bin/sh file=/home/hugefile/tmp/ ls /home/hugefile/tmp/* | while read file do mv "$file" /tmp/hugefile/ done #./movehugefiles.sh ./movehugefiles.sh: /bin/ls: arg list too long --------- |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help on move (mv) command | jambesh | Shell Programming and Scripting | 2 | 04-26-2008 12:23 PM |
| Move command problem | srivishnu_253 | Shell Programming and Scripting | 1 | 02-15-2008 06:46 PM |
| How to test whether a move command has been well executed | Lutchumaya | Shell Programming and Scripting | 6 | 01-25-2007 02:56 AM |
| Move command return with exit code of 2 | handak9 | UNIX for Advanced & Expert Users | 1 | 08-26-2004 06:40 AM |
| Help on MOVE command | michelr | UNIX for Dummies Questions & Answers | 2 | 03-13-2001 11:50 AM |