How to copy files to multiple locations on Linux
Thursday, 8 September 2022
Add Comment
Using a series of commands to copy a file to multiple locations or a number of files to a single location can be time-consuming, but there are options to speed up the process. This post explains some of them.
Multiple commands like these can to copy a single file to a series of directories on your system:
$ cp myfile dir1 $ cp myfile dir2 $ cp myfile dir3
One way to make the task easier is typing the first command and then repeat the command by only specifying the needed changes. This method relies on whether the file or directory names are similar enough to substitute only some portion of the names.
from Network World https://ift.tt/OcX9fas
Genrerating Link.... 15 seconds.
Your Link is Ready.
0 Response to "How to copy files to multiple locations on Linux"
Post a Comment