Lightroom: Folder/file Compression option in export

  • 1
  • Idea
  • Updated 4 years ago
  • (Edited)
Some people, like myself, put their photos in a compressed folder before uploading them to their server via their FTP-client. This requires a manual OS X/Windows command every time to create a compressed/zip-folder.

I think it would be nice to include the option 'Compress folder' in the 'After Export' pulldown menu (under Export Settings).

Photo of P.P.

P.P.

  • 3 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
I agree it would be convenient, but do you want to learn to set up your own post-processing for the mean time?
Photo of P.P.

P.P.

  • 3 Posts
  • 0 Reply Likes
I'm not sure what you mean with that sentence... Sorry.
Could you tell me how?
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Which OS?
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
If you are exporting via Hard Drive export service, you can set up a Post-Processing (After Export) action to zip, for example:



Appropriate commands depend on OS.
Photo of P.P.

P.P.

  • 3 Posts
  • 0 Reply Likes
Thanks, that's nice but what about auto-uploading the .zip to the server via an FTP-client?

(Using OS X 10.9.3 btw)
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
I'd be inclined to create a batch file which has 2 commands:

1. Zip exported files (passed as parameters to export action by Lightroom).
2. upload to server using ftp command built into operating system, or a favorite ftp upload app if you have one.

Sorry I can not give exact commands - maybe someone else can.

The downside is you will probably have to include the ftp password in plain text, but maybe not, if you use a 3rd party app instead of built-in command.

Another option (if the zip file will always be the same) - you could do it using FTP Aggregator (a plugin with external FTP app which I wrote).

For example:


Here is a template of bat file (Windows oriented):

REM command to zip photos in file whose path is as configured in FTP Aggregator.
java -jar "D:\Dev\LightroomPlugins\rc_FTPAggregator\FTPAggregator.lrdevplugin\FtpAggWakeUp\FtpAggWakeUp.jar" Z:\LrCat\Lr5
REM pause


You'd still need to figure out the proper command to zip on Mac, but the java/jar command is same on Mac as Windows (and is created by FTP Aggregator upon first use).

Also, you'd need to configure the file to be uploaded via FTP Aggregator, but it supports password encryption.

This would work just fine, but there may be a slicker way - I just don't know what it is.

PS - Since the parameters to the export action are the exported files (paths), you might not be able to do thousands of them, maybe only hundreds..

Rob
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
This plugin would be simpler, and is probably the way to go:

http://www.photographers-toolbox.com/...