4
rated 0 times
[
4]
[
0]
/ answers: 1 / hits: 1724
/ 2 Years ago, wed, september 21, 2022, 6:49:46
Imagine my directory looked like this:
./original.txt
./blah.1.txt
./blah.2.txt
[...]
./blah.999999.txt
I essentially want to replace every blah.*
file with the contents of original
. My initial try was to do this:
$ cp original.txt blah.*
But I get:
cp: target ``blah.1.txt' is not a directory
More From » clipboard