Results 1 to 2 of 2
-
01-08-2005, 12:19 AM #1Junior Guru
- Join Date
- Apr 2003
- Posts
- 187
trying to copy a folder in red hat?
Im trying to copy the public_html folder on my machine to a remote drive i mounted to /mnt/backup/backup/save
im using the command:
cp public_html/ /mnt/backup/backup/save
but keep getting the error:
cp: omitting directory `public_html/'
the drive is mounted properly and works fine when moving files and whatnot, i just cant seem to move this damn folder.
-
01-08-2005, 12:29 AM #2Web Hosting Master
- Join Date
- Feb 2004
- Posts
- 2,197
cp -rf public_html /mnt/backup/backup/save should work...
crucialparadigm - Affordable, Reliable, Professional :
Web Hosting
• 24/7 Support • Web Hosting • Reseller Hosting • Cloud/VPS Plans • Dedicated Servers •