Here is the command how to be able to copy a fil or directory and replace the destination if already existing.
i’m using “Bash”
1 | cp -fR /source/src_directory /destination/dest_directory |
1 | e.g: cp -fR /home/test1/* /home/test2/ |
Here is the command how to be able to copy a fil or directory and replace the destination if already existing.
i’m using “Bash”
1 | cp -fR /source/src_directory /destination/dest_directory |
1 | e.g: cp -fR /home/test1/* /home/test2/ |
Next post: How to synchronize the system clock using NPT in CentOS Linux
Previous post: Kloxo with Nginx or Nginx-Proxy
Well, thanks for sharing the command. Now I know to copy a fil or directory and replace the destination if already existing.