Results 1 to 2 of 2
  1. #1
    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.

  2. #2
    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 •

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •