Support
Forums

Re: Changing date format in filenames in Linux

No problem, Mike - I've done that before now! 

You can modify the script as follows:
  • open the script in your text editor
  • look for the phrase cut -d "-" (there are five of them)
  • change the hyphen to underscore and then
  • look for new_file=$year"-"$month"-"$day"."$suffix and change the two hyphens to underscore if you wan...
No problem, Mike - I've done that before now! 

You can modify the script as follows:
  • open the script in your text editor
  • look for the phrase cut -d "-" (there are five of them)
  • change the hyphen to underscore and then
  • look for new_file=$year"-"$month"-"$day"."$suffix and change the two hyphens to underscore if you wan...