Questions tagged [timestamps]
timestamp is used for questions that are about data specifying seconds since the epoch (19700101T00:00:00) or possible some other standard, and also for (date) and time information in filenames.
586 questions
1 vote
1 answer
80 views
Set timestamp from exif for png files
Basically I am looking for the PNG-equivalent of jhead -ft *.jpg (which sets the timestamp of the file based on the exif time for JPG files). So I have png files and want to set their timestamp to the ...
0 votes
2 answers
116 views
How to programmatically deduplicate files into hard links while maintaining the time stamps of the containing directories?
Continuing https://unix.stackexchange.com/a/22822, how to deduplicate files, given as a list, into hardlinks, while maintaining the timestamps of their directories? Unfortunately, hardlinks changes ...
8 votes
1 answer
2k views
File has been changed, but its "date modified" is the same. How is that possible?
Here is a test file test.applescript: display dialog "foo" buttons {"OK"} cancel button 1 default button 1 At 4:05 PM I compiled it to test.app: osacompile -o test.app test....
0 votes
3 answers
264 views
How to show seconds of last modified date when using sftp command?
When I use WinSCP to access my SFTP server, it shows me the last modified (changed) date including seconds. If I use sftp on Linux and run ls -l, it only shows the hours and minutes, but no seconds. ...
4 votes
3 answers
1k views
Is there a reason why I can't use find to scan modified files for viruses and malware?
I need to scan Linux systems for viruses/malware, on the entire file system. There are few options to consider. One is normally what users do: Use antivirus to scan system once a day. The second ...
0 votes
0 answers
165 views
Timestamp to each line of output (after finish command, how make view, when i input next command?)
In Terminal, i have see, when finish command, i view, when i input next command I use this solution https://unix.stackexchange.com/a/622928/675422 exec &> >( ts '%Y-%m-%d %H%M.%.S ' ) # ...
0 votes
1 answer
203 views
How to set keyboard shortcut to insert a timestamp (time & date) in KWrite?
KWrite is included as the default text editor in several popular Linux distros (such as Fedora KDE). Inserting a timestamp is a basic feature of text editors. How can one set a keyboard shortcut to ...
2 votes
2 answers
457 views
Dmesg showing incidents in the future
While debugging Wifi issues I came across this anomaly: $ sudo dmesg -e [Jul 1 14:28] wlxd85d4c93a47f: deauthenticating from 1c:57:3e:96:c3:a3 by local choice (Reason: 3=DEAUTH_LEAVING) [ +1.457910] ...