Script for moving directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
 
 
Thanks,
 
Peram
 

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux