05-11-2008
Looks like you basically have to crawl it all.
Sébastien Wains Creating a local CentOS mirror says 6.3Gb for a particular version; older google hits say slightly less.
Some sites build a top-level listing so you can know how much stuff is there just by reading the index, but there doesn't seem to be one on mirror.centos.org. You could crawl the site if you really wanted to, of course (hint: use HEAD to get just the file size, not the actual content; you can do something similar for ftp, too).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Can somebody PLEASE help me.
Suppose I want to find a file which has largest no of bytes in a particular directory, How do i do that.
ls -s will give the size of Blocks.
But I want the largest sized file and in bytes or KB OR MB.
tHANKS IN advanvce.
Bye
Rooh
:( (1 Reply)
Discussion started by: rooh
1 Replies
2. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
3. Shell Programming and Scripting
My Question is
-----------------
Assume you've a directory (i.e /home/test/) which contains n number of files,
rename all the files which has byte count more than zero (0) with .bak extension.
Write shell script to achieve this output,
execute the same without using". / " in front of... (6 Replies)
Discussion started by: hgriva1
6 Replies
4. Shell Programming and Scripting
Hi,
I would really appreciate if you could help me with this. I have a directory structure like this :-
/data
Under data i have directories /data1 , /input_files , /output_files etc . Under these directories I have other subdirectories.
What i am looking for is to find out the size of all... (5 Replies)
Discussion started by: divz
5 Replies
5. Shell Programming and Scripting
Hi,
I have to directory
/usr/inbound
-------------
10900.txt
10889.txt
109290202.txt
I need to create inbound directory
and i need to know size of these files one by one
if file size is zero i need to print message like "empty file"
Please help me how to solve this
thanks
krish. (4 Replies)
Discussion started by: kittusri9
4 Replies
6. Shell Programming and Scripting
hi,
i am using korn shell...............
Any one please help me in solving the below question:
question: i need to find the size of the directory alone...
let us assume /root/kamal/hash1 is the directory, now i want to find the hash1 size ..
... (7 Replies)
Discussion started by: G.K.K
7 Replies
7. Shell Programming and Scripting
hi all,
I am new to Php. Please tell me how do I find the size of an array?
Thanks (1 Reply)
Discussion started by: davidtymon
1 Replies
8. Shell Programming and Scripting
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
Discussion started by: rpraharaj84
3 Replies
9. Shell Programming and Scripting
Hi,
how to know the size of the files in the directory, exclusing the subfolder. ?
i tried du -h
du -sk
du -k
but its not giving.. (2 Replies)
Discussion started by: mail2sant
2 Replies
10. Red Hat
Most of my commands are returning this error on RHEL 6 64 bit:
Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix:
# rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm
1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies
LEARN ABOUT SUSE
mirror-master
MM(1L) MM(1L)
NAME
mm - mirror master
SYNOPSIS
mm [flags] [package-files]
DESCRIPTION
mm is the mirror master. It runs multiple calls to mirror in parallel and handles locking and minimal retry times.
As with mirror, mm is a package written in Perl.
mm presumes that all the package details are stored in a directory called packages. All the packages for a given site must be in a file
whose name is the same as that of the site. So in packages/sunsite.org.uk will be all the package details for the host sunsite.org.uk.
OPTIONS
-t Ignore the minimal retry timers.
-o site:package
Only mirror the given site:package.
-debug Enable debugging. If this argument is given more than once the debugging level will increase. Currently the maximum useful level
is four.
-s Enable status debugging. This will print out the status of any subprocess as it is spawned or as it exits.
CONFIGURATION FILE
The configuration file is parsed as a series of statements. Blank lines and lines beginning with a hash are ignored. There are are
two kinds of statements, controls and site:package details.
Control statements are of the form:
keyword=value
You can add whitespace around the equals.
Here is a list of the keywords and their values, any defaults are given inside square brackets:
home Directory that mm chdirs to before doing any work. ['']
max Maximum number of mirrors that can be running in parallel at any one time ['6']
mirror This is the way to call mirror. Any occurence of $args, $package or $site is replace with the appropriate entry from the
package. Any $pkg is replaced with a version of $package with all characters that cause problems in filenames converted to
underscore. The default is: exec ./mirror $args -p'$package' packages/$site > logs/$site:$pkg 2>&1 ['']
cmd Run the given command. This can occur multiple times. ['']
cmdin Run the given command and use its output as mm input. This can occur multiple times. ['']
skip Skip the given site:package when it occurs. ['']
In addition to control statements there are also package details. Each package details statement is of the form:
site:package min-restart-last-ok min-restart-last-notok mirror-args
The site and package fields are matched against those in the packages. A mirror will only be run to this site:package if the last mirror
run was more than min hours out. The min-restart-last-ok limit will be used if the last call to mirror was successful. If the mirror call
failed then min-restart-last-notok will be used.
EXAMPLES
Here is a simple mm input file to manage mirroring two packages.
home=/public/mirror
ftp.cl.cam.ac.uk:JIPS-nrs 20 20
hcrl.open.ac.uk:hcrl-psion 20 20
More usually the auxilly program pkgs_to_mmin will be used to automatically convert the contents of the packages directory into the
site:package statements.
home=/public/mirror
cmdin=./pkgs_to_mmin packages/*
AUTHOR
Written by Lee McLoughlin <lmjm@icparc.ic.ac.uk>.
21 April 1993 MM(1L)