This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# bash snippet: | |
# create unique new day-stamped file from a given file stem and extension | |
# | |
# note the for-loop fto find the first unique (=non-existent) file with | |
# a given name | |
# | |
fnstem="a-file" # here goes the file stem before unifiying |
NewerOlder