Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: easy-directories
- To: tlug@example.com
- Subject: Re: easy-directories
- From: "K.C." <null@example.com>
- Date: 07 Dec 2000 10:52:26 CST
- Content-Disposition: inline
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset="iso-8859-1"
- In-Reply-To: <14895.42485.484074.431667@example.com>
- References: <200012071450.eB7Eo0619761@example.com> <14895.42485.484074.431667@example.com>
- Reply-To: "K.C." <null@example.com>
- Resent-From: tlug@example.com
- Resent-Message-ID: <xp1j-.A.p8E.Q17L6@example.com>
- Resent-Sender: tlug-request@example.com
hi, On Fri, 8 Dec 2000 00:00:05 +0900, Stephen J. Turnbull said: > su > for dir in /home/*; do > if [ -d $dir ]; then > mkdir $dir/test > chown ${dir#/home} $dir/test # maybe you should set group, too > # chmod 0750 $dir/test # maybe you need this > fi > done > > Alternatively you could use something more complicated to parse > /etc/passwd. thanks dude it worked i guess i need to read more about scripting :) thanks again
- References:
- easy-directories
- From: "K.C." <null@example.com>
- easy-directories
- From: "Stephen J. Turnbull" <turnbull@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: who's coming?
- Next by Date: Re: rsync
- Prev by thread: easy-directories
- Next by thread: Re: easy-directories
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links