News

You can run a series of Linux commands to copy multiple files to a folder or copy a single file to multiple folders, but you can save time and trouble by using xargs, loops and scripts.
How to Copy a Single File in Linux. ... Here we simply add .. to the cp command to create a copy of test1.txt into the parent directory of the current location. cp test1.txt .. 5.