The time (and date) stamp, usually of a file, when the event (or last change) occurred.

learn more… | top users | synonyms

1
vote
0answers
45 views

How to use chrony to synchronize timestamp on two computers

I need to compare results which come from two different laptops. Each laptop has a different set of sensors and in order to correctly compare them I need to have the same timestamp on both laptops. ...
0
votes
0answers
15 views

trouble adding date to nc output

I'm new to netcat, and I'm trying to add timestamps to the return. So far I've tried: nc domain port | awk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush();}' and nc domain port | ts ...
1
vote
1answer
91 views

shell script to move a set of folders into one folder and timestamp it

I have a set of folders (let's assume at /home/20161, /home/20162, /home/20163) which have been timestamped already. at the end of the day, I'd like to collect all of them and move to a main directory,...
3
votes
0answers
65 views

How to change the year to 2558?

I am a Buddhist, and if I cannot have a Buddhist calendar, I would at least like to have to Buddhist year, which is currently (in 2015) 2558. But due to the 2038 year problem, I'm not sure if I can do ...
1
vote
1answer
257 views

Using rsync to back up a remote computer through a reverse ssh link

I can rsync to my remote computer, but cannot rsync from my remote computer--it doesn't seem to exchange a file list in that direction, so it tries to transfer all of a huge number of files rather ...
3
votes
1answer
305 views

How to know the time of execution of previous commands [duplicate]

I know that using the history command I can view my past commands, but: Is there a way to view the date and time of the execution of those commands? Or is that kind of information not saved? And ...
8
votes
4answers
831 views

How can I change the filename timestamp?

I have dat files' names in chronological order: FileName_YYYY_MM_DD_HHMM.dat Is there any commands for adding 30 minutes to each timestamp?
1
vote
1answer
683 views

TSC unstable switching to hpet

Current clocksource is hpet, which simply does not work with the applications I am trying to run and acpi_pm gives the same errors. I need TSC to work. I already disabled intel_pstate and set failover ...
-1
votes
1answer
7k views

How to create logfile for a bash script?

I've written a bash script that runs multiple instances of a program and would like to write the entire output of the script to a logfile. I tried #!/bin/bash touch <.../somewhere/logfile.log> ...
0
votes
1answer
170 views

Why is there a one-second timestamp difference on copy?

I periodically copy a folder from my Ubunto 12.04 laptop to a removable USB flash drive, using the Ubuntu file system (i.e. Nautilus 3.4.2) to drag the folder from one window to the other. It then ...
0
votes
1answer
393 views

Wrong timestamp in syslog

I was taking a look on my syslog, and I found this: Nov 30 22:30:01 nori-hidamari NetworkManager[963]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 2580 Nov 30 22:30:01 nori-...
2
votes
3answers
735 views

create a .tar file of all latest files in the directories

I am in a directory A. This has a lot of sub directories B, C, D. Each sub directories will have a list of files. I need to create a .tar file of all the latest file in each subdirectory. Example: ...
11
votes
4answers
5k views

What is a timestamp in Linux?

While reading about Linux I got the following: touch provides several options, but here is one of interest: The -t option allows you to set the date and time stamp of the file. To set the ...
1
vote
1answer
389 views

How to check a folder timestamp?

How to get file information inherent to time: such as last modification time, recent access time and so on. Also I would like to know if it is possible to check all the modification dates of a file ...
1
vote
0answers
880 views

(Another) How to show full date and time in Nautilus/Files 3.10+ list view?

This question is essentially a follow up or continuation of: How to show full date and time in Nautilus/Files 3.6+ list view? ...but b/c this isn't ANSWERING that question, I'm disallowed from ...
0
votes
1answer
42 views

before.rules date [closed]

I can't figure out why one of my before rules file has a date that is in the future. Today's date is July 3rd but the file time stamp states Jul 6. Below is the output from ls -l in the /etc/ufw ...
2
votes
1answer
411 views

How to retain date stamp while copying to another PC

Similarly to How to maintain a file's 'last modified' date ? I need to retain the date while copying the file by Krusader or in a 'Home Folder' window to another PC connected by SSH. Is it ...
4
votes
1answer
702 views

Append current timestamp on files name from background running command

Following is command that I have used in bash script and it is run on background: sshpass -p prakash12 ssh -t -p $1 prakash@localhost './test_new_update_script.sh > /home/log/unit_update_output....
2
votes
1answer
113 views

Create a change log (timestamped) in Kubuntu?

I want to keep a change log of things I do in Kubuntu - in other words if I tweak some setting I want to make a written record of it so I can roll back if I screw up. What's the best way to do this? ...
1
vote
1answer
1k views

Command line PDF printing - automatic filenames based on timestamp [duplicate]

Ubuntu 12.04 LTS, 3.8.0-35-generic kernel, Firefox 27.0 If I print a text file to pdf, I get a default filename which is always the same. (it is always "output.pdf") How can I have automatic file ...
2
votes
0answers
220 views

Timestamp appears to be wrong on some log files

When I use scp to remotely check my server logs, the "last changed" timestamp on some files appears to be set in the future. I've double checked the local time and timezone settings on both my server ...
5
votes
1answer
353 views

Last access timestamp updated every 24 hours

The last access timestamp of my files is updated every 24 hours whenever I access an files. E.g. I type "ls" and if the last access timestamp of the file is older than 24 it is updated to the current ...
6
votes
3answers
10k views

How can I preserve file modification times when copying to a NAS?

I recently installed a Synology DiskStation on my network. I mounted it from an Ubuntu 12.04.1 computer with the Browse Network button in Nautilus 3.4.2. It shows up as afp://randall@DiskStation.local/...
6
votes
1answer
6k views

List of files modified between perticular time period

I am trying to get list of files modified between particular period of time as explain in this answer. I stored date and time in two variables [nn and nn1 (stupid naming)] and tried with find ...
106
votes
6answers
173k views

How can I change the date modified/created of a file?

Is there a way to change the date when a file was modified/created (which is shown in Nautilus or with the ls -l command)? Ideally I am looking for a command which can change the date/time stamps of a ...
6
votes
1answer
7k views

How to remove files modified between particular dates?

As in the topic: I would like to remove files in a directory that have been modified in a particular date range. How can I do this ?