Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a command line application (really simple, that uses only text files for storage) that can catalog my backup dvds. Something similar to WhereIsIt, but using command line.

Suppose I have 10 dvds, each one with a lot of files. I would like to "catalog" these dvds to a lot of text files, and, when needing to search for a file inside these dvds, instead of checking all dvds, I would just search the catalog.

Any recommendations?

share|improve this question
    
Can you give a better example of what you want to do? –  Joe Internet Jun 9 '11 at 3:01
    
@Joe Internet: Done. –  Somebody still uses you MS-DOS Jun 9 '11 at 3:04
    
So you only want to keep a list of the file names, then if you need file abc.xyz, you'll search for that file name in the text file catalog? –  Joe Internet Jun 9 '11 at 3:10
    
@Joe Internet: Yep. I know I can use 10 lines of bash script to do it, using only (like find . * > /home/user/catalog1), but I would like to know if anyone did something like that. –  Somebody still uses you MS-DOS Jun 9 '11 at 3:12

1 Answer 1

up vote 0 down vote accepted

Well, I think this is indeed to simple to have an "application". Just using grep find and the shell itself I can accomplish what I want. I'm going through that route.

share|improve this answer
    
can you give some examples to make a catalog for off-line search? something like ls -lR > catalog.txt ? –  meduz Oct 29 '13 at 20:04
    
@meduz Actually, you can use a binary called tree and do tree /media/my_media/ > ~/Desktop/catalog.txt, since you can have a lot of subfolders. –  Somebody still uses you MS-DOS Mar 20 at 2:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.