1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

A linux little question

Discussion in 'Plesk for Linux - 8.x and Older' started by gonzalo, Jul 7, 2006.

  1. gonzalo

    gonzalo Guest

    I'm sorry but i'm saturated i need to move or copy all files and directores from one level to level up, for example. Copy all files and dir with its permissions from /backup to /

    I have shell access. Please someone would write the code.

    Thanks in advance.
  2. jamesyeeoc

    jamesyeeoc Guest

    I'm not sure why you would want to move all the files from /backup out to the root, but you would use the 'cp' command.

    Basic usage:

    cp [OPTION]... SOURCE... DEST


    If you use the '-a' option, it will keep ownership and permissions intact.

    Are you sure you really want to clutter up your root directory??