Skip to content

Tag: timestamp

Append date to a filename in linux

I want add the date next to a filename (“somefile.txt”). For example: somefile_DDMMYYYYHHMMSS.txt Maybe a script will do or some command in the terminal window. I’m using Linux. Thanks in advance. Answer Something like can do the work:

Issue with HH date time format

Need help to identify where is the issue, whether it is a java issue or linux box or something else. My app is running on linux weblogic, app is generating some kind of .tar files on linux with datetimestamp in filename. I am using below snippet to get current time to prepare filename: File format: SA_PART_YY…