Ron Johnson <ron.l.johnson@cox.net> writes:
That's sort of tailor made for tar, folks.
(cd /fromdir && tar cf - .) | (cd /todir && tar xpf -)
Wanna go to a remote temp disk?
( cd /fromdir && tar cf - . ) | ssh target_address "(cd /todir && tar xvpf - )"
Or a remote tar.gz file...
( cd /fromdir && tar czvf - . ) | ssh target_address "(cd /todir && cat - \
> remotefile.tgz )"
> On Mon, 2003-11-03 at 18:01, Alex wrote:
>> > When I say "copy", this might be more involved than "cp -R". I moved a
>> > partition once, and it wasn't fun. YMMV.
>> >
>> >
>>
>> cp -a (archive). see man page.
>>
>> Make sure the dot files make it through the transition.
>
> Hey, wait!
>
> How about:
> # cd / && mv home home.hold
> # umount /home
> # mkreiserfs /dev/hdaX
> # vi /etc/fstab
> # mount /home
> # mv home.hold home
>
> --
> -----------------------------------------------------------------
> Ron Johnson, Jr. ron.l.johnson@cox.net
> Jefferson, LA USA
>
> "As I like to joke, I may have invented it, but Microsoft made it
> popular"
> David Bradley, regarding Ctrl-Alt-Del
>
> ___________________
> Nolug mailing list
> nolug@nolug.org
>
-- Scott Harney<scotth@scottharney.com> "...and one script to rule them all." gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5 ___________________ Nolug mailing list nolug@nolug.orgReceived on 11/04/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST