How can I move items from UNIX server to Mac volume (via a UNIX call)? Perl?
How can I move items from UNIX server to Mac volume (via a UNIX call)? Perl?
- Subject: How can I move items from UNIX server to Mac volume (via a UNIX call)? Perl?
- From: email@hidden
- Date: Mon, 5 Aug 2002 15:58:53 EDT
Is there any (fairly simple) way to recreate an AppleScript routine
(which uses Finder to move folders) with a Perl script? Or is there
another suitable language for scanning a UNIX directory and moving new
items to another volume (and then deleting them so they don't show up
during the next scan)?
I'm moving part of a workflow routine to a UNIX server and need to
perform there what I am currently doing on a Mac with a Folder Action
script.
When a new item shows up in a directory (actually any one of a number of
specific directories), I need to move it to a Mac volume (and then get
rid of it). If it's a folder, I need to end up on the Mac with its
structure intact. Of course, I don't want to move it until it's
completely written (items will be incoming via FTP).
I am told that a Cron daemon is available, so I'm hoping this will not be
too difficult. My experience with Perl is limited to minor modifications
to cgi routines in web work, but my hunch is that this would not be
rocket science.
Thanks so much for any suggestions (or code)!
Dan Feather
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Dan at featherweightstuff dot com -=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.