Hi,
I've some files being sftpd into one my servers running Red Hat 9.
I need to move the contents of the destination directory (say testdir) which includes sub directories (test1 and test2) to another directory (newdir) with the same sub directories.
When I tried to move the dirs through a script, I'm getting the error
"mv: cannot overwrite directory newdir/test1"
I'd appreciate if you can help with some links or any scripts to solve this issue.
Have you simply tried rsync for this? Works wonderfully, and I move all sorts of stuff around with "rsync -av" if it's on the same box or "rsync -av -e ssh" if it's over any network. Fast, accurate, encrypted over ssh... gotta love it.
-- Rodolfo J. Paiz rpaiz@xxxxxxxxxxxxxx
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list