I have a script that renames files with.JPEG ext to .jpg but if it renames one and it already exists I need it to create a new directory called duplicates and move the file there instead of overwritting it.
I need to create a simple fixed width text file in KornShell (ksh). My current attempt using printf to pad the string isn t working out very well. What s the shortest, cleanest way to create a fixed ...