How do move large number of files ?

Karl Larsen klarsen1 at gmail.com
Wed Apr 14 12:15:08 UTC 2010


On 04/13/2010 01:09 PM, MirJafar Ali wrote:
> Hello,
>
> I have very huge number of files in one directory that I wish to move 
> to some other folder and
> the standard  "mv" just screames
>
> crash-06:~/DataSet$ mv file*  SFiles
> bash: /bin/mv: Argument list too long
>
>
> Can someone suggest what is may be a good solution.  of course picking 
> one by one is ruled out.
>
> Mir
>
>
>
         Try to copy the files to the new folder with $ cp -a * 
folderaddress. Then delete the files when they are all safe in the folder.

73 Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D






More information about the ubuntu-users mailing list