Is there a script/tool that will allow me to create N files following a pattern like '[user-defined-string]-N', with N being incrementally increasing numbers ideally starting with a 0 until reaching 10 and the contents of the files being unique so they don't get flagged when searching for duplicate files?
Example:
user-defined-string-01
user-defined-string-01
user-defined-string-02
user-defined-string-03
user-defined-string-04
user-defined-string-05
user-defined-string-06
user-defined-string-07
user-defined-string-08
user-defined-string-09
user-defined-string-10
and so on for a specified number of iterations to create the desired number of files?
I've been creating them manually (as text files with the filename being copied and pasted as the contents), but that's time consuming. I use these files as placeholders that get deleted when I receive the associated file and an easy way to see what file I'm up to/waiting to receive. I need to be able to use a different user-defined-string each time since the names are not irrelevant.
I was thinking maybe pipe a short length of the contents of /dev/urandom into each file to achieve the uniqueness, but I'm still at a complete loss as to how to generate a desired number of files with the desired naming scheme. I have basically zero scripting experience and actually use Windows most of the time but figured since I also have Ubuntu installed I likely have a better chance of achieving this using Linux (and then possibly install WSL on Windows and see if that lets me use the script without having to boot into Ubuntu)