07-22-06 12:24 AM
On 2006-07-21, pawan_test <sridhara007@gmail.com> wrote:
> Hello,
>
> i have a directory;say /home/pavi
>
> i has some files and every day files keep adding to it.
>
> i am writing a shell script which copies all the files from this
> directory to another.say /home/tom/tmp
>
> how do i copy all the files from /home/pavi to /home/tom/tmp
two possibilities:
(cd /home/pavi; find . -print)|cpio -pdmv /home/tom/tmp
cd /home/pavi; cp -av . /home/tom/tmp
--
[ Post a follow-up to this message ]
|