Hi, On Thu, 9 Feb 2006, houghi wrote:
On Thu, Feb 09, 2006 at 08:49:38AM +0100, Eberhard Moenkeberg wrote: <snip>
That way people can decide easier what and what not to mirror.
emoenke@ftp4:4 08:35:28 /mirr/bin > du -s /pub/opensuse/distribution/*
Using `du -sh` might be more readable. ;-)
Not for me - only for so called "humans".
You can run "rsync -vv --dry-run" on any subdirectory - it will transfer no files, but tell the file names and the total size.
You then have to look at each and every directory. e.g. rsync -vv --dry-run rsync.opensuse.org::opensuse-full/opensuse/ gives me: drwxr-xr-x 104 2005/07/29 11:11:23 . drwxr-xr-x 256 2006/02/02 15:33:35 distribution drwxr-xr-x 112 2005/10/23 15:34:13 tools
Next I need to look in distribution/ and get : drwxr-xr-x 256 2006/02/02 15:33:35 . drwxr-xr-x 368 2006/01/20 14:29:34 SL-10.0-OSS drwxr-xr-x 512 2006/01/26 09:07:04 SL-10.1-OSS-beta2 drwxr-xr-x 512 2006/02/02 08:42:35 SL-10.1-OSS-beta3 lrwxr-xr-x 18 2006/02/02 16:36:14 SL-OSS-current lrwxr-xr-x 11 2005/09/29 10:16:19 SL-OSS-stable
Then I need to look in ...
Not realy something somebody would like to do just to know how much space is needed. And the above is just for the openSUSE. You then also need to do it for ftp.suse.com
-avv includes the whole subtree. Cheers -e -- Eberhard Moenkeberg (emoenke@gwdg.de, em@kki.org)