What is odd about that? The best part is what follows:
$new_file_name = "${year}_${month}_${day}_$count.$ext" +; # Ensure unique file name while (-e "$dest_dir/$new_file_name") { $count++; $new_file_name = "${year}_${month}_${day}_$count.$ +ext"; }
It makes the final smallest whole number that works. It had the side effect of quarantining my *orn, which was good.
In reply to Re^2: a nifty utility script from chatgpt
by Aldebaran
in thread a nifty utility script from chatgpt
by Aldebaran
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |