1
vote
1answer
1k views

Copying the timestamp from one file to another (using PowerShell 2.0 on Windows-7)

On my Android phone, it was configured to save pictures to the Phone-memory. I wanted to free up some memory in the phone, and since I have a 16GB uSD card, I: 1) copied all the pictures to my ...
0
votes
2answers
665 views

How to get the current timestamp when using 'ps' in a Bash script?

I am writing a shell script that gets all the current processes running, and pipes them into grep to filter out the ones I need. But I also need it to give me a timestamp, either when the ps occurs, ...
2
votes
2answers
333 views

What's the best command to use to change a timestamp to readable date when 'tail -f'-ing a log file?

I have a program which logs like this: 1324218770.7644 INFO etc What's the best Linux shell program to pipe that through to change the timestamps to a human readable format like Sun 18 Dec 2011 ...