• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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