--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


This shows you the differences between two versions of the page.

Link to this comparison view

scriptbashrenamefiles [2013/05/18 08:55] (current)
sjoerd created
Line 1: Line 1:
 += Script: Bash: Rename Files =
 +== Remove Double Timestamp at End of Filename ==
 +Rename files with name*.xml_timestamp_timestamp:​
 +<code bash>
 +for file in Swaps*.xml*
 +echo $file
 +#echo "mv $file ${file%_*_*}"​
 +mv $file ${file%_*_*}
scriptbashrenamefiles.txt ยท Last modified: 2013/05/18 08:55 by sjoerd