moving large number of files
From: Richard Yu (ryu_at_comxpert.com)
Date: 01/25/05
- Next message: Ketil Wendelbo Aanensen: "Re: no /dev/pilot for pilot-link to use"
- Previous message: Mark Healey: "no /dev/pilot for pilot-link to use"
- Next in thread: noi: "Re: moving large number of files"
- Reply: noi: "Re: moving large number of files"
- Reply: Durk van Veen: "Re: moving large number of files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Jan 2005 00:20:51 +0800
Hi,
I try to move large number of files in one folder to another folder, but it
does a copy only instead of move. Can anyone help me the move command,
thanks.
(just to use mv will get me error, argument too long)
cd /home/folder1
tar c . | (cd /home/folder2/; tar xv)
36,000 files in /home/folder1
36,000 files in /home/folder2
after execute the commands,
36,000 files in /home/folder1
72,000 files in /home/folder2
Best regards,
Richard.
- Next message: Ketil Wendelbo Aanensen: "Re: no /dev/pilot for pilot-link to use"
- Previous message: Mark Healey: "no /dev/pilot for pilot-link to use"
- Next in thread: noi: "Re: moving large number of files"
- Reply: noi: "Re: moving large number of files"
- Reply: Durk van Veen: "Re: moving large number of files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|