home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.orig.lzh
/
expire
/
mkadir
< prev
next >
Wrap
Text File
|
1989-06-27
|
477b
|
22 lines
#! /bin/sh
# make directories for expire archiving
# $1 is overall archive dir, remaining args are successively deeper
# subdirectories under $1 (e.g. comp comp/lang comp/lang/c) (which may
# or may not already exist -- expire doesn't know or care). Note, last
# argument therefore is slashed newsgroup name.
case $# in
0|1) echo "Usage: $0 archdir subdir ..." >&2 ; exit 2 ;;
esac
cd $1
shift
for d
do
if test ! -d "$d"
then
mkdir "$d" >/dev/null 2>/dev/null
fi
done