image
image

Go Back   macosx.com > Scripts > Shell/Terminal Scripts

Reply
 
LinkBack Thread Tools
  #1  
Old March 11th, 2008, 08:12 PM
Registered User
 
Join Date: Mar 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
hsthompson is on a distinguished road
Upload Script Help Needed

Hi all. I'm a UNIX n00b with a specific task I want to accomplish. I need something that can run in the background, without taking up much memory or processor power. I don't know anything about shell scripting, so any help would be appreciated.

Here's what I need to do:

1) watch a file/folder for updates
2) if there's an update, upload the update to a web server
Reply With Quote
  #2  
Old February 9th, 2009, 12:46 AM
Just Some Guy
 
Join Date: Feb 2009
Location: LA
Posts: 21
Thanks: 0
Thanked 3 Times in 3 Posts
xserve@home is on a distinguished road
It may be easier to write an Applescript to do this, but if you want to write a shell script..I would create a script that check a change in the appropriate files then started the upload. Then enter an entry in your crontab file (check out the 'crontab -e') command and run the script every 5 or 10 minutes or so.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 08:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.