General :: Julian Date Converter To Gregorian Date

Apr 22, 2010

Anyone have a ksh solution to convert julian date to gregorian date?

View 6 Replies


ADVERTISEMENT

General :: Use Date With Touch To Create New File With Date Based Name?

Mar 12, 2010

I am using CRON to create a new, blank file, every minute, in a specific location on my web server. After web searching, and reading man pages, I get the impression that the following command is supposed to work:touch /home/mydomain/var/folder/attachments/`date +%H%M`.txtThis should give me a new file with a file name that is the current hour and minute.However, when executed, the CRON mailer reports:touch /home/mydomain/var/folder/attachments/`date +/bin/sh: -c: line 0: unexpected EOF while looking for matching /bin/sh: -c: line 1: syntax error: unexpected end of fileSo, it looks like shell is seeing the plus (+) sign as an EOFObviously, nothing get created.What would be the easiest, single line command to create an empty file, at a given location, with a time based file name

View 5 Replies View Related

Ubuntu Multimedia :: Replace Jpg Files Last Modification Date With Timestamp Creation Date?

Sep 22, 2010

I'm looking for a method for modifying some jpg photo files last modification date with the corresponding timestamp creation date of each file.The reason is that shotwell import pictures in folders according to last modification date which is stupid on my opinion.

View 2 Replies View Related

Ubuntu :: Organize Folder With Images By Date Taken Rather Than Date Edited?

Aug 1, 2011

As a photographer I'm constantly taking photos and storing them in folders. Now occasionally I'm using two cameras (either for different settings or an assistant is also taking photos) which means that for one event I can have differently named images.Both cameras have the same time set (which always helps in Windows) but in Ubuntu when trying to sort my folder by date taken I can't.The options I'm given are to sort them: Manually, by Name, by Size, by Type, by Modification date and by Emblem.Now none of those are helpful to me once I've done a few edits to the images.So please if anyone knows, how do you organise a folder with images taken on different cameras by Date Taken rather than Date Edited?

View 3 Replies View Related

Ubuntu Multimedia :: Digikam - Renaming On Import - "Create Date" Versus "File Modification Date"

Jan 24, 2011

I just switched from a basic digital camera to a more advanced one that stores both Jpeg and Raw (.Nef - it's a Nikon) files for me.When importing files in Digikam, I rename the files so that they start with Date and Time. Example: 20110121-223748.JPG for a photo taken on Jan 21st 2011 at 22:37:48.I was a bit surprised when importing both the JPEG and the Raw version of the same photo, that the filename is different by a few seconds (no constant offset, sometimes they are the same):

20110121-223748.JPG
20110121-223750.NEF

I did some "research" by looking at the exif data of both files (using "exiftool 20110121-223748.JPG" from the command line). Here is what I got back

(amongst other data):20110121-223748.JPG
File Modification Date/Time : 2011:01:21 22:37:48+01:00
Modify Date : 2011:01:21 22:37:48
Date/Time Original : 2011:01:21 22:37:48

[code]....

So it seems that Digikam is using the "File Modification Date/Time" (different in the Jpeg's and Raw's of my camera) rather than the "Create Date" (the same for both Jpeg and Raw). (The few seconds difference in "File Modification Date/Time" between the two versions of the same photo is probably due to the time that my camera needs to write away the data on the SD memory card. I guess.) Is there a way to have Digikam use the Create Date? (Or the Date/Time Original?)

PS: I'm on Ubuntu 10.04LTS, using DigiKam 1.2.0

View 1 Replies View Related

Programming :: Keep Original Mod Date Of A File And 'date' It Back To Same File?

Jul 12, 2010

I would really like to preserve a file's original modified date and pass it back to the file as the same attribute after a script has worked on it. I get a lot of JPEG files from different places on the Net which I either turn around and upload or burn to disk, and having the "original" date of either download or last mod in a graphics app would be for me, in the long run, a lot more helpful when deciding, for instance, which files to "recycle" or pass on backing up more than once.I've tried doing this on my own every now and then. Where I run into problems is that it appears "stat" and "date" use different formats for date information, and I can't seem to puzzle out how to "translate" one to the other satisfactorily for the latter command.

Just to give an example:
stat foo.jpg |grep Modify gives me
Modify: 2010-07-12 06:28:56.890625000 -0400

Passing that string as-is to date foo.jpg, I get the errordate: unknown option -- 0 and the usual semi-courteous suggestion to Try 'date --help' for more information.Somehow my TexInfo database got screwed up somewhere along the line and info dategives me the short article on date input formats, not the full documentation for the command

View 4 Replies View Related

Ubuntu :: Find Out The Last "up-to-date" Date For "Update Manager"?

Jul 31, 2010

When I clall the "update manager" it tells me if my system is up-to-date or new updates are available. Lets assume I update my system now (I disabled automatic updates).

Then (in a couple of days or weeks) I start the Update Manager again and it tells me again that new updates available. How can I find out now when the last time was when my system was "up-to-date" (=when a complete, successful update took place)?

Is there soemwhere an entry which shows this date?

View 1 Replies View Related

General :: How To Add A Date

Oct 29, 2010

i have a line in a script that puts some text into a fileecho "Couldn't find this at this time" >>/var/cccamlog/cccam.checkthis work ok but i would like to have the time printed auto co what do i have to do to the line to do it?"Couldn't find this at this time 10-10-2010 08:05pm

View 10 Replies View Related

General :: How To Use The Date Command

Jun 15, 2010

How to use the date command to display, for example, 10-Mar-2010 01:01:53? What's the format string?

View 2 Replies View Related

General :: Changing The Date IST To GMT?

Jun 19, 2011

Somehow during a recent ubuntu install I managed to set my clock to Indian Standard Time instead of Greenwich Mean Time. Now I'm having problems acessing some websites and I think it's because the certificates appear to be off date.

View 2 Replies View Related

General :: Put The Date In The Name Of File But Can't Seem To Get?

Apr 11, 2011

I'm trying to put the date in the name of my file but cant seem to get it I just end up with the word date in the file instead of the date. my script looks like this.

#!/bin/bash
x="/var/log/system/"
y=date
z=${y:11:8}
top > $x$y.txt

View 3 Replies View Related

General :: How To Know System Up-to-date

Nov 29, 2009

I have SLES 11 and activated the daily updates.

But i don't know if the system :dowloads the updates
if the downloaded updates are immidiately installed
some updates need to reboot the system. does it automatically reboot or
does he(the system) inform me ? (where ?)

View 2 Replies View Related

General :: Get The Days From A Certain Date?

Dec 11, 2010

calculating days' distance?

for instance,

Code:
( 2010-9-16 ) minus (2010-9-1) = 16 days

I have read the date manual

View 4 Replies View Related

General :: Mkdir With The Date

May 25, 2010

How do I make a directory with the date in this format:

YYYYMM
201005

View 2 Replies View Related

General :: How To Change Server Date

Apr 30, 2011

How to change Linux web server date through SSH?

View 3 Replies View Related

General :: Date - How To Set Current Time

Jun 26, 2011

Why is the output of the following commands different?

root@vmi2115:/var# hwclock
Sun 26 Jun 2011 01:21:38 PM CEST -0.273230 seconds
root@vmi2495:/var# date
Sun Jun 26 15:21:39 CEST 2011
root@vmi2115:/var#

And can I change the current time on Linux?

View 4 Replies View Related

General :: How To Add 5 Years To Current Date

Mar 17, 2010

I am using Red hat Linux operating system.I want change the date exactly 5 years ago to current date with out providing month, date and time. I want only the year should be 5 years ago .please help in this regard . example . If current date is this = Wed mar 18 22:59:23 IST 2010. past date shuld be like this= Sat Mar 18 22:59:23 IST 2005

View 6 Replies View Related

General :: Why 12/01/1965 Is An Invalid Date

Sep 12, 2010

why 12/01/1965 is an invalid date ? It is a bug on date ?

Code:
miguel@quadbit:~$ date -d "12/01/1964"
Ter Dez 1 00:00:00 BRT 1964
miguel@quadbit:~$ date -d "12/01/1965"
date: invalid date `12/01/1965'

[Code].....

View 1 Replies View Related

General :: Deleting Files By Date

Nov 5, 2009

I had a program run riot and it has created hundreds of spurious files in one directory. Fortunately they are all dated 4th November so are easily identified. What bash command can I use from the console to delete them all?

View 2 Replies View Related

General :: Rpm -qa --last Lists All Rpm With Date And Time?

Oct 4, 2010

rpm -qa --last lists all rpm with date and time. But I want to sort the list by date, with earlier rpm displayed first. So it needs pipe, rpm -qa --last |

View 2 Replies View Related

General :: How To Find Installation Date Of OS?

Oct 22, 2010

How would i find the installation date of my OS.

View 5 Replies View Related

General :: Keeping Xandros 4.1 Up To Date.

Jan 11, 2010

Xandros isn't keeping its repostorie Apps. updated. I tried Ubuntu 9.04 and it was good with only a minor change, (wireless was slow). Got a workround from Ubuntu forum. Login as root I was able to fix it, I updated to Ubuntu 10. Wireless was slow again. I tried logging on as root. Ubuntu 10. has lockout root and sudo won't let me add (iwconfig wlan rate 54M) to a boot up program to fix it. I went back to 9.04 now it wouldn't let me sign in as root. I next tried Debian Lenny. The screen res. was 1600 x 900? And for Dabian Lenny the screen res. is set automatically and can't be set manually, so I could not finish the install. So I'm back to Xandros 4.1 needing help to keep it up to date.

View 2 Replies View Related

General :: Is There More Up To Date Version Of Ktorrent Available

Jan 24, 2010

is there a more up to date version of ktorrent available and is so where can I find it.

View 1 Replies View Related

General :: Installation Date In Machine?

Oct 23, 2010

how and where to find the linux installation date in machine, is there are any logs,file, date time stamp.

let us say centos 5.x or 4.x fedora if talk about

View 5 Replies View Related

General :: Maximum Date Value From A File?

May 10, 2011

I am facing a problem in finding out the maximum value of a field using awk .. The field is of date format i.e. (MM/DD/YYYY) ..

The contents of the file is :

2/2/2011 XYZ
2/2/2011 XYZ1
2/3/2011 ABC
2/4/2011 ABC

[Code]....

I need to find the maximum of the first column i.e. my output should be 2/12/2011 ..

I was using the below awk script : awk 'n < $0 {n=$0} {print n}{print $0}' <source_file having the above data>

But the output I am getting is 2/9/2011 instead of 2/12/2011 ...

what could be reason for this output and how can I get my desired result ..?

View 3 Replies View Related

General :: Next Release Date For Ubuntu?

Feb 27, 2010

i want to know the next release date of ubuntu

View 3 Replies View Related

General :: Out Of Date Repositories For Suse 11.1

Mar 3, 2011

I am running Suse 11.1 and for several weeks now have been getting no system updates, security or otherwise. I am, however, getting a message suggesting that the relevant repositories are out of date. Do I need to upgrade to a new version?

View 1 Replies View Related

General :: Best And Up To Date System To Install?

Mar 10, 2011

I want to try Linux on a 5yr old desktop, What is the best and up to date Linux to install.CPU-AMD Sempron(tn)3000+,CPU Speed-2000MHz/333MHz, Ram 1.5G

View 8 Replies View Related

General :: Untar And Only Extract Those Files That Are Above A Certain Date

Jun 16, 2010

Is there any way to untar and only extract those files that are above a certain date including directory structure??

I restored a backup on a play server but it was a few days old. However I have a tar archive of the entire structure that is more up to date and healthy so now I want to extract all files (including directory structure) based on a date filter on the files if possible?

View 2 Replies View Related

General :: Windows - Change Date-taken On Photos

May 5, 2011

I want to change "Date Taken" on photo, which I clicked using my Sony Ericsson phone.

I have all 3 systems: Windows, Mac & Linux.

You can suggest me software for any one or all.

Is there any way to do it using Adobe photoshop?

or any batch processing software.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved