Quantcast

Forums | MacLife

You are not logged in.

#1 2009-09-27 3:50 pm

F041
Member
Registered: 2004-03-13
Posts: 3294

How to output entire directory to text file?

Hey guys, I have my data spread over approximately seven external hard drives and my laptop's internal drive (it's a crazy system and that's why I'm trying to organize it all now). I'm currently only home on weekends, and traveling as lightly as possible. Being that way, I'm wondering if there is a program that allows me to "explore" my external drives without actually needing them. This way I would know what files I have and where (and ideally all the meta data, like file size, data modified, date created, kind, et cetera), and I would be able to come home on weekends and immediately start transferring files to new drives without needing to take all the time to figure out what is where. I'll even settle for something as basic as a program that writes every folder and file name to a text file, but something where I could browse the drives as if they were connected would be ideal (of course, I wouldn't be able to open any files, but it visually navigating would be ideal). Thanks for any suggestions!

Offline

 

#2 2009-09-27 4:15 pm

Fracai
Evacipate
From: St. Elsewhere
Registered: 2000-05-25
Posts: 2835

Re: How to output entire directory to text file?

You could try the "tree" command.
Check "man tree" for more info.

The below will output user / group data along with size, permissions, etc.
tree -puhgDF


   i am jack's amusing sig file
        http://alum.wpi.edu/~arno/i/s.png
Satellite Lot :: Second Summer

Offline

 

#3 2009-09-27 6:09 pm

sturner
Royal High Poobah
Moderator
From: Carrollton, TX USA
Registered: 2000-01-31
Posts: 13795

Re: How to output entire directory to text file?

You can make an automator file as displayed here.

http://www.clamshavelegs.com/images/file%20listing.gif


I'm not dead yet.
There are 3 types of people, those who can count and those who can't.
"There are few things graven in stone, excepting your date of death."

Offline

 

#4 2009-09-27 9:58 pm

Alien
Forum Czar
Administrator
From: Republic of Amsterdam
Registered: 1999-07-05
Posts: 16942
Website

Re: How to output entire directory to text file?

man -laR / > ~/Desktop/filelist.txt

.tsooJ


http://macstack.net/forums/images/smilies/lol.gif

Offline

 

#5 2009-09-28 1:56 am

sturner
Royal High Poobah
Moderator
From: Carrollton, TX USA
Registered: 2000-01-31
Posts: 13795

Re: How to output entire directory to text file?

try them all.


I'm not dead yet.
There are 3 types of people, those who can count and those who can't.
"There are few things graven in stone, excepting your date of death."

Offline

 

#6 2009-09-28 8:50 am

ukimalefu
4 8 15 16 23 42
Moderator
From: time loop
Registered: 2002-09-09
Posts: 9357
Website

Re: How to output entire directory to text file?

Search macupdate for disk cataloging software.

This one is good, but there are others:

http://www.macupdate.com/info.php/id/6221/disktracker-x

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson