fredmiranda.com
Forum
Presentation Boards
Nature & Wildlife
Landscape Photography
City, Street & Architecture
People Photography
Black & White Photography
Macro & Still Life
Sports Photography
Wedding Photography
Digital Art, Smartphone & Abstract
Trip Location Advice & Meet-ups
Gear Talk
Canon Forum
Nikon Forum
Sony Forum
Leica & Alternative Gear
Fuji Forum
Film Is Not Dead
Micro Four Thirds Forum
Latest Photography News
General Gear-talk
Pro Digital Corner
Lighting & Studio Techniques
Post-processing & Printing
Forum & Miscellaneous
Assignments
Weekly Assignments
Monthly Assignments
Photo Critique
Buy & Sell
Photo Gear
Tech Tools
Tips for Safe Transactions
Guidelines & Rules
Join Today
What's New
Latest Posts
FM Gear Reviews
Assignment Winners
Weekly Assignments
Monthly Assignments
Category Winners
Landscape Photography
Nature & Wildlife
People Photography
Register
Login
Forum
Buy & Sell
What's New
Register
Login
fredmiranda.com
Login
Moderated by:
Fred Miranda
New fredmiranda.com Mobile Site
New Feature: SMS Notification alert
New Feature: Buy & Sell Watchlist
FM Forums
|
Pro Digital Corner
|
Join Upload & Sell
Archive 2009 · Could this be done?
Message
Username
andrew81
Offline
[X]
p.1 #1
· Could this be done?
Would it be possible to write a script (I understand this is possible with a mac) to take images from a card, resize for the web, and then transmit via either FTP or email (to certain email address) said resized photos.
Nov 03, 2009 at 03:26 AM
luketrot
Offline
Upload & Sell
:
Off
p.1 #2
· Could this be done?
Sure. Since Mac is really BSD/Unix you can create a simple Unix shell script.
When you create your script you will need to tell it to run in a shell
#!/bin/sh
I would use Imagemagick to resize your images:
ls \source\*.jpg| sed 's:\(.*\).jpg:/sw/bin/convert \1.jpg-resize 640x640 ../\1.jpg:' | bash
Then a simple FTP script to push images to your FTP server:
HOST='Your.FTP.Server'
USER='yourid'
PASSWD='yourpw'
FILE='*.jpg'
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
exit 0
Nov 03, 2009 at 07:15 AM
pointedem
Offline
Upload & Sell
:
Off
p.1 #3
· Could this be done?
lol gotta love that andrew81
Nov 03, 2009 at 09:46 PM
FM Forums
|
Pro Digital Corner
|
Join Upload & Sell
Welcome back
Log in to your account
Username
Password
Login
Reset password
No account?
Register