On Sat, Jan 19, 2002 at 07:01:27PM -0600, Manoj Srivastava wrote:
Hi,
The short answer is:
# cd /path/to/old/directory
# find . -depth -print0 | afio -p -xv -0a /mount/point/of/new/directory
[ snip ]
afio:
Afio is a better way of dealing with cpio-format archives. It is
On Fri, Jan 11, 2002 at 05:52:55PM -0800, Tim locke decreed:
I need to copy a whole subdirectory to another
subdirectory...possible? (i.e. cp /home/user1/file
/home/user2/file) as a regular user.
---end quoted text---
For the most accurate reproduction of a directory tree consider using
the
Steve Cooper wrote:
For the most accurate reproduction of a directory tree consider using
the tar command:
tar cf - . | (cd $1; tar xvf -)
I always thought that:
tar cf - . | (cd $1; tar xpvf -)
was the correct way. The one time I forgot the -p during extraction, I had
permission
Hi,
The short answer is:
# cd /path/to/old/directory
# find . -depth -print0 | afio -p -xv -0a /mount/point/of/new/directory
Now for the long answer. The candidates are:
cp:
Traditionally, cp was not really a candidate since it did not
derenference symbolic
On Sunday 20 January 2002 1:01 am, Manoj Srivastava wrote:
Hi,
The short answer is:
# cd /path/to/old/directory
# find . -depth -print0 | afio -p -xv -0a /mount/point/of/new/directory
Now for the long answer. The candidates are:
What about rsync
--
Alan - [EMAIL
I need to copy a whole subdirectory to another
subdirectory...possible? (i.e. cp /home/user1/file
/home/user2/file) as a regular user.
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Tim locke wrote:
I need to copy a whole subdirectory to another
subdirectory...possible? (i.e. cp /home/user1/file
/home/user2/file) as a regular user.
How about cp -r? Or better yet: cp -a.
Cheers,
Viktor
--
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/
Tim locke [EMAIL PROTECTED] writes:
I need to copy a whole subdirectory to another
subdirectory...possible? (i.e. cp /home/user1/file
/home/user2/file) as a regular user.
^
If you're getting access denied errors, you probably don't have write
permission to
not access denied errors. I need to copy a
subdirectory
located in a public directory to my home directory...I
can copy the files one by one but I'd rather copy the
whole subdirectory itself to my home directory...
__
Do You Yahoo!?
Send FREE video
On Fri, Jan 11, 2002 at 07:35:11PM -0800, Tim locke wrote:
not access denied errors. I need to copy a
subdirectory
located in a public directory to my home directory...I
can copy the files one by one but I'd rather copy the
whole subdirectory itself to my home directory...
Have you tried 'cp
Have you tried
cp -r path/dirname newpath
?
--
Carl Fink [EMAIL PROTECTED]
I-Con's Science and Technology Programming
http://www.iconsf.org/
11 matches
Mail list logo