Ubuntu :: Find / Sort And Produce List Of Files (Photos)

Sep 11, 2010

I have hard drive with several thousand photos. These photos are in different formats, some are tif some jpg some raw (cr2). These files are in dozens of directories. What I want to do is produce a list of all the files, in all of the directories, sorted by the file name (not sorting on the path), listing the location, file name, size and date created.
For instance I may have a file called photo1.jpg in /photos/pics/
I may also have a file called photo1.cr2 in /photos/misc/ and a file called photo1.tif in /photos/processed/summer/.

I would like a text file that would look like this:
/photos/misc/photo1.cr2 2536658 2010-07-09 13:17
/photos/pics/photo1.jpg 320046 2010-07-07 14:47
/photos/processed/summer/photo1.tif 234456689 2010-07-10 09:22
Of course I want it to do this for all of the photos. I pretty sure that there is a way to do this with a minimum amount of work. I have no problem with using the command line.

View 3 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Sort / Organize Photos By Resolution?

Mar 17, 2010

i wanted to sort and organize my pictures by resolution ( like 1024*768 ) but i failed. is there any program or search plugin for nautilus to sort or list my photos by resulotion?

View 3 Replies View Related

Ubuntu :: Find Files With Directories And Sort By Mod Time?

Dec 4, 2010

what i wanted to do was find all the files with a specific name from a tree, sort them by modification time and have their directory appended to them so that i knew where they were (because they all have the same name). i tried a whole bunch of different things and finally did this:

Code:
find . -type f -name world.sav -exec ls -l '{}' ; > ~/dfsaves.txt; gawk '{$1=""; $2=""; $3=""; $4=""; $5=""; print}' ~/dfsaves.txt | sort -n > ~/dfsavessorted.txt

this did the trick pretty well, but as you can see it is far from elegant and i think i'm doing some things wrong and kludgy

first thing i tried was "ls -lRt | grep world.sav" which worked except i couldnt distinguish the files because there were no directories. that took a lot of looking till i accepted i couldnt make ls print directories as well and append them to the files somehow that their relationship would be clear. i tried piping ls to find, doing it in reverse, passing them from grep etc. etc. until i read some more stuff online that got me using gawk and sort. the questions:

1. is there some other, more elegant and simple way to do this kind of detection and sorting?

2. is there any way to use a pipe after using exec? the semicolon seems to prevent this entirely, forcing me to use an intermediate file as above. i could just remove it later, but i'd prefer a straight piping.

View 8 Replies View Related

General :: List/find All Regular Files In All Subdirectories Excluding Binary Files

Oct 5, 2010

I know I can do find . -type f, but that includes binary file and I couldn't find a way to exclude them with find

View 4 Replies View Related

General :: Produce A List Of Opensource Alternatives To Blackboard And Webct

Jun 24, 2010

I'm trying to produce a list of opensource alternatives to Blackboard and webct EDIT: please provide user experience and recommendation. I'm not looking for a google search on the products out there; rather, I was wondering about your personal input

View 3 Replies View Related

Ubuntu Multimedia :: Shotwell - List Of Duplicate Photos And Videos Not Imported?

May 6, 2011

I just imported a large set of photos into Shotwell on Ubuntu. The popup on completion says:

Quote:

Import Complete
749 duplicate photos/videos were not imported:
[path]/[filename]
[path]/[filename]
[path]/[filename]
[path]/[filename]
(and 745 more)

How can I get a full list of the 749 photos and videos that were not imported?

View 1 Replies View Related

General :: Find And List Files Created In A Particular Year?

Jan 31, 2011

How to find and list files and directories present the current directory which were created in, say, years 2005, 2006, and 2009 and then move them to some other location, for example, /backup. Yes, I need to list them and move simultaneously. We can use:

Code:

find . -mtime n {};

but that n is troublesome for me to figure out files/directories created in years 2005, 2006, and 2009, for instance. Is there any way to match exactly by Year Value rather than calulating the "n" (days * 24 Hours)?

System Info:

SunOS 5.8 Generic_117350-06 sun4u sparc SUNW,Ultra-Enterprise

View 3 Replies View Related

General :: Find A List Of Files That Are Named Duplicates ?

Jul 2, 2010

How can I find a list of files that are named duplicates i.e. have same name but in different case that exist in the same directory?

View 7 Replies View Related

General :: Find A File And Just List The Found Files?

Aug 7, 2009

I use find / -name myfile to search files. But it will print out a very long list such as follow:

Code:

...
find: /var/empty/sshd: Permission denied
find: /etc/audit: Permission denied
find: /etc/httpd/conf/ssl.crl: Permission denied
find: /etc/httpd/conf/ssl.crt: Permission denied

[code]....

View 4 Replies View Related

General :: Using Find With File Name And Mtime To Remove Files Gets Arg List Too Long Error?

Dec 25, 2009

I need to delete all *.trc files that are older than 30 days and I am getting a "Argument list too long" error. There are other files that should not be deleted which is why I am using the "*.trc" and newer files need to be kept as well. I have seen other postings but they do not cover both of the conditions. Below are 2 of the many attempts at doing this but I cannot get this to work.

find *.trc -mtime +31 -print| xargs rm -f {}
find *.trc -mtime +31 -print -exec rm -f {} ;

View 3 Replies View Related

Ubuntu :: 9.10 - Does Not Produce Sound When Loggin In And Playing Music Files

Apr 4, 2010

I recently bought a new laptop. compaq presario CQ41 109AU. It does not come with a pre-installed OS so i've decided to put an Ubuntu on it[karmic koala 9.10]. I successfully completed the installation procedures. however, it does not produce sound when loggin in and playing music files. I gone to look if the settings where put to mute, but they were not. I tried installing a MS Vista in the other partition and the sound worked.

View 1 Replies View Related

Ubuntu :: Libreoffice Writer Or Natty Produce Huge Files

May 3, 2011

I do monthly reports by copying the previous document, update the text and change the images. The images are the same size and numbers each months. Since last month I upgraded my laptop to Natty and suddenly my document went from 942 kB to 10.1 MB in .odt. When saving to PDF the usual size of 472 went up to 1.9 MB. I have searched the net and the forums but haven't seen anything about a similar issue.

I'm not sure if it's an issue that is from the previous document being produced in Open Office and now updated and saved in Libreoffice. Or if it's somehow something to do with the upgrade from Maverick to Natty. I would hope I don't have to uninstall Libreoffice and install Open Office as a solution (which I understand is not entirely easy in Natty, something I read about Open Office being transitional to Libre). I can't email simple documents to customers that's over 10 MB large...

View 1 Replies View Related

Programming :: Going Through A Multi-step Process To Produce Output Files, Which Involves 25,000 Greps At One Stage?

Nov 8, 2010

I am going through a multi-step process to produce output files, which involves 25,000 greps at one stage. While I do achieve the desired result I am wondering whether the process could be improved (sped up and/or decluttered).input 1set of dated files called ids<yyyy><mm> containing numeric id's, one per line, 280,000 lines in total:

Code:
123456
999996

[code]....

View 14 Replies View Related

Ubuntu :: Erased Partitions Table - All Files / Photos Vanished

Jun 3, 2010

I was resizing partitions wit GParted and by mistake I went to Dispositive -> Create Partitions table, and click Apply by mistake. Now all my partitions vanished. I already try testdisk, and gpart and didn't work. All my files and photos with more than 15 years vanished.

View 9 Replies View Related

Ubuntu :: 11.04 : Can't Sort GNOME Panel's Window List?

Apr 28, 2011

I can't anymore sort GNOME Panel's window list by drag-and-dropping.Can I reactivate that? Is there another way to sort windows

View 1 Replies View Related

Programming :: Std - List - Copy - Sort And Merge ?

Jun 24, 2011

I had a data structure like this:

I sort the list like this:

I think the logic is correct, maybe just some details.

Now my question is
1) Can I simply merge node1 and 2 without sorting? Like node_list1.merge(node_list2);
2) If not, how can I copy list1 and 2 into list3?

View 1 Replies View Related

Programming :: Downloading A List Of Files From A Remote Server Using A List?

Feb 10, 2009

I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.

#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget

[code].....

View 7 Replies View Related

Fedora Installation :: MP3 Sound Not Functioning With 11 / Cant Get The MP3 Files To Produce Sound?

Jun 21, 2009

Installed Fedora 11 successfully, but I cannot get the MP3 files to produce sound.

Have tried the default configuration for sound, the Pulseaudio and the PulseAudioSoundServer.Installed and use KDE interface. Sound works for SKYPE (after selecting HDAIntel) and the Firefox 3.5 Beta 4.

Below are the configuration details.

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphic(rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02
code....

View 4 Replies View Related

Programming :: Sort Files In Directories Based On Files Date

Sep 8, 2009

I need a script that will take all the files in a given directory and create new monthly sub-directories and sort all the files based on the creation date into the appropriate directory.For example, all files created between 01/01/09 and 01/31/09 will be placed in 'JAN-2009'

View 5 Replies View Related

Fedora :: Can't Find / Install Headers For My Kernel - Sort It?

Jan 27, 2010

I am trying to install a piece of software that uses an install.pl script which looks to /usr/src/linux/include/ for my kernel headers...but it never finds them or that directory/link.

I've run "yum install kernel-devel kernel-headers" so I am pretty sure they are installed.

My "rpm -qa | grep kernel" returns code...

What am I missing?

View 1 Replies View Related

General :: Find And Sort Results By Date Modified

Jun 7, 2011

so I was wondering how I could do a simple find which would order the results by most recently modified. Here is the current fine I am using. (I am doing a shell escape in php, so that is the reasoning for the variables. find '$dir' -name '$str'* -print | head -10

How could I have this order the search by most recently modified. (Note I do not want it to sort 'after' the search, but rather find the results based on what was most recently modified)

View 4 Replies View Related

SUSE / Novell :: Yast2 Can't Find ISCSI Package - Sort It?

Dec 23, 2010

yast2 matched nothing when I typed "iSCSI" in it. Can anybody give a help? My desktop is Dell precision T3500 workstation, it is installed with SLED 10.0, then for some software installation, I update its kernel to SLED 11(2.6.7). I see in many forum yast should be able to install iSCSI initiator very easy, but this doesn't work for me.

View 2 Replies View Related

Programming :: BASH Sort List By End Of Line To X Position In Each Line?

Aug 18, 2010

I'm trying to make another file annotation script a little speedier than it has been by the up-until-now proven method of checking the last four characters in a filename before the "dot" (eg .jpg, .psd) against a list of known IPTC categories and Exiv2 command files. It occurred to me that if one script generated a list of files in directory foo, and the same or another script sorted that list by that four-letter tag,then that list could be used(instead of a for/do/done loop on the real files in the folder) by the command-file-matching script to "vomit out" which annotator file would go with file nastynewfile.jpg, f'r'instance. The script I had been using for this task looks like this:

Code:

while read 'line';
do
sp=$(echo $line)
vc=$(echo $sp | cut -d"," -f1)
cv=$(echo $sp | cut -d"," -f2)

[code]....

Where I seem to be stuck is with how to sort the lines in templist, which may be any number of different lengths, from back to front. sort -k looked promising, except it seems only to work the other way round. I thought of invoking a

Code:

q=$(expr length $line); echo $q
n=$[q-8]; echo $n

kind of thing, but that presented the problems of how to sort by those, how to tell sort where to find them (grep?) and how to "stitch them back in" to the original list, which is what I want to sort in the first place.

View 14 Replies View Related

Ubuntu :: Using Bash To Sort Csv-files?

Jul 25, 2011

I am in need of sorting the content of a csv-file separated with "#". The file looks the following:

Code:
Descriptive 1#47.5498295127948#35.5365757501888#44.4127802931231#84.0767444257134#0.0416435951243528#0

[code]...

View 8 Replies View Related

Ubuntu :: Find A List Of USB Devices?

Mar 2, 2010

Not long ago I lost all sound, but I got it back eventually-the system wasnt snesing my usb speakers.

Now its stopped recognising them again and I cant remember how I got it back before.

How do I find a list of USB devices?

View 7 Replies View Related

Ubuntu :: Bash To Sort Files Into Subdirectories?

Sep 4, 2010

i currently have hundreds of files all in a single directory. What I would like to do is create 8 subdirectories and move the files into the subdirectories based on the first character of the file name. Ideally, the script would omit any 'the' or 'a' and use the second word for filing purposes. No filenames have spaces. Instead they use periodsThe subdirectories will be:

0-9
a-d
e-h

[code]...

View 2 Replies View Related

Ubuntu :: Need To Correctly Sort Hex Numbered Files

Feb 5, 2011

I have some files, named E000.svg, E001.svg, E002.svg, ... E07D.svg, E07E.svg, E07F.svg . When I open them in Nautilus, and choose the option Sort Alphabetically, they are sorted:

E000.svg
E00A.svg
E00B.svg
E00C.svg
E00D.svg
E00E.svg
E00F.svg
E001.svg
E01A.svg
E01B.svg
and so on.

This is totally useless for me, so I searched for a solution in Google, and found lots of bug reports. It looks like it's a 'feature' for sorting 10 after 9; but clearly they have forgot that many people don't like or don't need that option. Thinking it was a Nautilus thing, I installed Thunar, but it has the exact useless algorithm. And then I installed PCManFM, but it's also the same. If I can install a file manager that correctly sorts my files? Or will I need to switch to Windows to have it fixed? (not joking here, Windows Explorer doesn't suffer from this feature).

View 9 Replies View Related

Ubuntu :: Sort Files Into Folders Based On Extension?

Sep 16, 2010

I recovered some 60,000 files with PhotoRec and need a script to sort them into individual folders based on extension. I was able to do this once before but cannot find the script again (sad thing is that I probably saved it on another HD that I'm having partition issues with, but that's another story....).I found this script:

Code:

#!/bin/dash
mkdir "$1"
for file in *.$1; do
mv "$file" "$1"
done

While it does work, I am not looking forward to going through all 132 folders and typing in each extension. The last time I did it, the folder was automatically created based on the extension(s) found.

View 6 Replies View Related

Ubuntu :: Find A Complete List Of Commands For The Terminal?

Jan 24, 2010

Were can I find a complete list of commands for the terminal in ubuntu linux 9.10

View 9 Replies View Related

Ubuntu Installation :: Can't Seem To Find A List & Description Of All The New Features?

Oct 11, 2010

I'm very happy with 10.04 but want to take a look at 10.10. I can't seem to find a list & description of all the new features.

View 6 Replies View Related







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