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?
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.
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
I currently have a command to backup a directory it will zip the directoryand place it where i have told it too, Now what i am after is a command i can run before my code, that will delete and tar.gz files before todays dateso i my ideal world it would be something like this, delete <'date +%m_%d_%y'.tar so this will delete all the files in this folder before todays date,
I wrote this little script and I need some help, I am trying to achieve following:Every day I receive new file in the /home/denis/MyData/ folder and I don't know what the file mane will be but I want to move any file that arrives there to the new location /media/DataBackup/Linux/backup/ (media/DataBackup/ is external 500GB USB drive)to automatically create new folder with the date and time stamp every day and then to move content of the /home/denis/MyData/ into the new folder with current date stamp. So every day there will be new folder and will contain files for that day only.My script is as follows:
cd /media/DataBackup/Linux/backup/ mkdir MyData_$(date +%Y%b%d_%HH%MM) #this creates file MyData_current date and time
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):
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
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?)
In the Windows world where I came from, Irfanview freeware easily renamed a large folder of JPEG photos by EXIF time & date stamps, appending a unique number if the time and date stamps were the same. Is there an equivalent rename-by-EXIF information batch command in Ubuntu 10.04 Lucid? For example, change (based solely on EXIF information): FROM:DSC_0001.JPG TO:20110224_09:34:56am.JPG
I need this script but I don't know how to do it I have one folder with several folders inside.On each folder a have one MKV or AVI file inside...What I need is a script to change the "modification date" of each folder to the "modification date" of each MKV or AVI that the folder has inside.
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
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?
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
I boot 5 different operating systems (Windows, ubuntu studio, and 3 versions of Ubuntu), but my grub install is grub 2 on ubuntu 9.10. If I do a kernel upgrade on any of the other ubuntu operating systems, how do I update my grub configuration on ubuntu 9.10 so I can boot it?
I installed my linux os in vmware.I need to set time of virtual machine to later time( 2005 ).I have an application whose license expires at 2006 so I have to do this in order for it to work .but when I change it it comes back to the current time ,so what is the solution for this .
Was curious about keeping a running system up to date. Can any harm come from running the following:sudo apt-get updatesudo apt-get upgradeWhat I mean is, is it possible that doing the above could cause a perfectly healthy system to go foobar? If so, what's the best way to prepare a system for a recovery. The Server in question is a Hardy BIND server. In the past, I've seen some ugly things happen to Windows systems after running updates, so I'd like to err on the side of caution.
Fairly new to Ubuntu server. Was curious about keeping a running system up to date. Can any harm come from running the following:
sudo apt-get update sudo apt-get upgrade
What I mean is, is it possible that doing the above could cause a perfectly healthy system to go foobar? If so, what's the best way to prepare a system for a recovery. The Server in question is a Hardy BIND server. In the past, I've seen some ugly things happen to Windows systems after running updates, so I'd like to err on the side of caution.
If something in the ubuntu software center is out of date who do we notify? I just installed exaile from the ubuntu software center and it is out of date. I just created a few hundred playlist and am afraid to uninstall it and install the latest version via exaile software repo so when will the ubuntu software center version be updated?
Is it possible to change the date format in Ubuntu 10.04 from the American mm/dd/yyyy to the British format of dd/mm/yyyy? I have looked at the Time/Date settings but cannot see any way of changing the date format
If one right-clicks on the date and time tab in Ubuntu 10.10 desktop, then there is no obvious way to change the time. If one right-clicks and goes to help, then the explanation for changing time is as follows under the category 'usage':
2.3. To Adjust the System Date or Time.
To adjust the system date or time that the Clock applet displays, perform the following steps:
1. Right-click on the applet, then choose Adjust Date & Time.
2. Type the root password, then click OK.
3. The Clock applet starts the system tool that sets the system date and time. Use the tool to adjust the date and time.
The actual way to do this is as follows:
Right-click on the date and time applet. select preferences, and down at the bottom of the window that opens push the 'time settings' button.
Then you will be able to adjust that date and time.
Since I've switched to 10.10 NBR the date has gone missing from the toolbar at the top. Everything is fine when I click the time, I still get the calendar and everything. They probably just moved it away to save space up there but I appreciate always having the date easily visible.I've searched through all the personalization options, but I can't seem to figure out how to have the date still showing right next to the time like it used to.
Suddenly the date and time applet disappeared from my top panel. I have checked out Compiz Setting Manager and asked google but without success. Does anybody know how to tackle this one? For those who have not got 11.04 yet: right click on the panel does not give you a choice of applets in 11.04 as it was in 10.10.
I have heard its going to be July. One concern is KDE4.4 and whether this is going to be the KDE default environment for 11.2. Over at KDE, 4.4 is out with a 1 click install for 11.2. The main problem I have discovered from reading the KDE forum is poor multi monitor support with separate X screens. From what I read this is extremely problematic. I would like to update to 4.4 to get the equalizer back in Amorak but attempted once, the day before they officially released 4.4 with no success. I wonder if anyone here is using 4.4 in a separate X screen setup?? Additional thought-- when 11.3 is released will 4.4 be the only option or will we be able to elect to use 3.xx??
I have another question: What is the expiration date on OpenSuSE 11.2? I vaguely remember a page that told what the expiration date is for all the versions. But now I can't remember where it is. I want to know how much time I have left to grab up all the necessary apps and stuff before the repositories for this version are deleted.