create file in a single command
Hi all,
Howdie?
Is it possible for me to do the following in a single command?
1. List all files ending in TXT (ls *.TXT)
2. For each file returned above, create a pair by appending .!!! (something like *.TXT.!!!) using touch
For example, I have 2 files:
name1.TXT
name2.TXT
the command will create 2 additional files:
name1.TXT.!!!
name2.TXT.!!!
Thank you!
|