Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A utility script for WinSwitch Apps
I wrote this script sometime back, and have found it a bit useful, so I thought I'd share it. If you use WinSwitch, you may find it useful.

I call it cp2winswitch (remember to make it executable) and store it in my ~/bin folder. It must be run with sudo, and it essentially helps you to copy single files to either the 'switch-in' or 'switch-out' folders of one or more users. Yes, it's probably overkill, but writing it was a good exercize for me and perhaps someone else will like it.

[robg adds: I haven't tested this one...]
  • Currently 2.40 / 5
  You rated: 3 / 5 (5 votes cast)

A utility script for WinSwitch | 3 comments | Create New Account
Click here to return to the 'A utility script for WinSwitch' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A utility script for WinSwitch
Authored by: MacDork on Jul 21, '05 10:19:02AM

How about actually explaining what it does?

[ Reply to This | # ]
What this script does
Authored by: eno on Jul 21, '05 11:34:59AM

WinSwitch can automatically run stuff (scripts, apps, whatever) whenever you switch in or switch out from a user account. Each user can set up their "switch in" and "switch out" items to taste. What this script does is allow you to set up all user accounts on your system in the same way by copying stuff from one user's "switch in"/"switch out" folders into all other users' folders.

It is probably useful for people who have *lots* of user accounts and want them all set up exactly the same way.

[ Reply to This | # ]
A utility script for WinSwitch
Authored by: KeithHedger on Jul 22, '05 11:57:21AM

I notice you are using CpMac presumably to copy the resource forks fyi the normal cp command now takes care of resource forks (mv also)
about time apple!

nils sodemy cogito

[ Reply to This | # ]