Re: Distribute File to all users
Re: Distribute File to all users
- Subject: Re: Distribute File to all users
- From: Skeeve <email@hidden>
- Date: Thu, 18 Dec 2008 09:09:33 +0100
William J Sisti schrieb:
Yes that's exactly what I want to do. Sorry for being confusing.
-Will
You want to copy the same SomeFile.webloc file to about 500 different
subdirectories on a server. The subdirectories are named like this:
HomeDirs/Students/GRADE_YEAR/USERNAME/
where
GRADE_YEAR = 2003, 2004, 2005 etc.
USERNAME = an arbitrary string
Does that look correct?
I would do this with a shell script:
cd HomeDirs/Students/
for grade in 200? ; do
for user in * ; do
cp /path/to/SomeFile.webloc $grade/$user/Desktop/
done
done
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden