Sorry their is not a command-line to do this. Poster rated this answer 0 Votes. Regarding ur code. Tnx 0 Votes. This question was closed by the author 0 Votes. Back to Windows Forum. Start or search. Start New Discussion. Create a new discussion If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem.
Track this discussion and email me when there are updates. Reset Post Submit Post. Related Discussions. Read: Linux directories explained. Another solution would be to use a for loop within a one line shell as follows :.
Read: How to find the largest files on Linux. GNU parallel is a shell utility used for executing tasks or jobs in parallel over one or multiple machines. The basic syntax is as follows:. The tee command allows you to copy one file to multiple destinations. Here is an example on how to perform this:. Note that the input that is written by tee will be forwarded to the standard output stdout. As you have seen, there are many ways to copy a file to multiple directories.
Most of these solutions make use of the cp command which cannot perform this feat on its own. If you like the content, we would appreciate your support by buying us a coffee. Thank you so much for your visit and support. On my system KDE neon using parallel from the moreutils package, you need to use — as separator, not Read: How to use grep command in Linux Using find Another alternative to carrying out a copy to multiple destinations is to use the find command as follows : find directory1 directory2 -exec cp file.
Facebook Twitter Reddit LinkedIn. Chris Joseph This person is a verified professional. Main Areas of Contribution:. Track Progress. Earn Credits. Open a Command Prompt window. Use the following command-line example. Open the parent folder the top-level folder which contains multiple-sub-folders. From the File menu, click Options. Click the View tab. Step 3: In the Search box. Step 4: Just make sure that All subfolders option is enabled. Step 5: Home tab choose location. Step 6: In the Move Items dialog,.
0コメント