• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

A linux little question

G

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.
 
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

cp [OPTION]... SOURCE... DIRECTORY

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??
 
Back
Top