FTP directory size?

Does anyone know how to get FTP directory size listings?

I have rather a lot of places to look through to find out where a
large amount of data is stored, and doing this by hand is not really
working. (And it is tedious!)

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Since no one else has replied to this…

I assume you are talking about files on a remote computer that you get
to via FTP.

This is not exactly what you want, but maybe it will help.

I assume you know how to create an interactive ftp session using the
Terminal program.
If not,then run the Terminal app and enter command ftp
you will get an ftp> prompt
enter the command open
then answer the questions about to?, name, password

I assume the remote computer is a Unix machine

Once you are ftp logged in to your remote computer, enter the command

ls -alRS mytext

answer the question about local file with a y

This will get you a recursive listing of all the files on your remote
computer sorted by directory name with the largest files first in each
directory

This listing will be put in the file named mytext on your local Mac
(you can name this file anything), you can then scan it with BBedit or
other editor.

maybe this will help

LLE

On Dec 24, 2008, at 4:33 PM, Keith Martin wrote:

Does anyone know how to get FTP directory size listings?

I have rather a lot of places to look through to find out where a
large amount of data is stored, and doing this by hand is not really
working. (And it is tedious!)

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 24/12/08 (at 22:00 -0500) LLE Freeway said:

This is not exactly what you want, but maybe it will help.

Brilliant, perfect, thank you!

I thought I’d uploaded a whole load of photos to somewhere on one of
my sites for safekeeping before wiping my memory cards, last October
while on a flying visit to North Carolina. I was getting worried that
I’d cleaned up the FTP space and lost 'em later on, but I’d just
nested things a bit deeper than I thought. (I was rather jet-lagged
when I did this!)

I’d completely forgotten the terminal commands to do this. You’ve
given me a great Christmas present by helping me find these shots!
Thanks. :slight_smile:

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options