Shell Tools has created a PowerShell script to syncronize local folders with a users SmugMug account.
PowerSmug can be easily scheduled to run in Windows' Task Scheduler for automatic syncronizing of your images with SmugMug. PowerSmug records what images were uploaded and the last modified date of the image. It will only connect to SmugMug if a new image exists or an image that has already been uploaded is modified, so you can schedule it to run as often as you'd like without wasting bandwidth.
You will need to ensure you set the variables in the User Defined Variables section.
PowerSmug will create a SmugMug gallery for each folder below the path defined in the $PhotoDirectory path. You can also pass in the directory as a parameter to the PowerSmug script.
With the following folder structure:
| $PhotoDirectory | Sub Folders | |
| C:\Photos | ||
| \Christmas 2007 | ||
| \4th of July 2008\Fireworks | ||
| \4th of July 2008\BBQ |
PowerSmug would create the following galleries in SmugMug:
Christmas 2007
4th of July 2008
4th of July 2008\Fireworks
4th of July 2008\BBQ
Any images directly under the C:\Photos directory would not be uploaded.
Contact us with any questions or issues you may have.
PowerSmug v1.1 has just been uploaded. The main change is switching from using the WebClient to uploading files using HttpWebRequest. The reason for this is large files would timeout with the WebClient and it does not expose a timeout property. With the HttpWebRequest there is some extra code, but the timeout value can be increased as needed for large files.
| File | Size | Date | Attached by | |||
|---|---|---|---|---|---|---|
| PowerSmug.v10.ps1 PowerSmug v1.0 | 10.24 kB | 17:09, 4 Dec 2008 | eddie | Actions | ||
| PowerSmug.v11.ps1 PowerSmug v1.1 | 11.45 kB | 04:48, 13 Jan 2009 | eddie | Actions | ||