Make a Bunch of Fake Files
I have a bunch of fake files used for testing.
$ ls
foo.bar foo.ipynb foo.jpg foo.json foo.numbers foo.py foo.txt foo.zip
foo.csv foo.jpeg foo.js foo.log foo.png foo.tiff foo.xlsx
I want a bunch more with different names.
ls | sed 's/foo/bar/' | xargs touch
Now I have more.
$ ls
bar.bar bar.jpeg bar.json bar.png bar.txt foo.bar foo.jpeg foo.json foo.png foo.txt
bar.csv bar.jpg bar.log bar.py bar.xlsx foo.csv foo.jpg foo.log foo.py foo.xlsx
bar.ipynb bar.js bar.numbers bar.tiff bar.zip foo.ipynb foo.js foo.numbers foo.tiff foo.zip