Have you considered rsync (which would only transfer changed files) or using find/xargs? Rsync has a --min-size flag if you can use that instead You could use any ftp client and the find command. Here's an example looking for all files larger than 2M in /home and listing them with ls: m at m:~$ find /home -type f -size +2M -print0 | xargs -0 ls -lh -- Michael Moore On Sun, Feb 10, 2013 at 2:54 PM, Eric Crist <ecrist at secure-computing.net> wrote: > Perl, anyone? > > ----- > Eric F Crist > > > > On Feb 10, 2013, at 11:55:28, Josh More <jmore at starmind.org> wrote: > >> The two times I've done this, I used ncftp (scriptable ftp client) or >> expect (when interfacing with non-scriptable ftp clients). >> >> Not sure if this is helpful to you. >> >> -Josh >> >> On Sun, Feb 10, 2013 at 11:53 AM, Ryan Coleman <ryanjcole at me.com> wrote: >>> I'm trying to process FTP automation for my site to push out to our >>> reselling website but I wanted to break it down to limit to files greater >>> than 2MB... >>> >>> Here's my script: >>> >>> #set quiet on >>> set ftp autologin off >>> ftp domain >>> ftp user user pass >>> ftp mkdir Basketball >>> ftp cd Basketball >>> ftp mkdir WBKB:\ Hamline\ vs.\ St.\ Benedict\ \(01-16-13\) >>> ftp cd WBKB:\ Hamline\ vs.\ St.\ Benedict\ \(01-16-13\) >>> ftp mput /larger:800000 >>> /mount/archive/d3sports/photographers/ryan.coleman/basketball/2013/Proofs/130116-HMLN-CSB-W/* >>> ftp bye >>> exit >>> >>> >>> I'm not sure ftp mput supports the larger switch but I've been trying to >>> find a good scriptable FTP client to manage this process. I like cmdftp but >>> it does not seem to support scripting. I know this script works regardless >>> of filesize - so that's a plus - but I would love to make it work for only >>> files over nnn Bytes. >>> >>> From http://www.columbia.edu/kermit/ftpscripts.html: >>> >>> Or suppose you want to send all the files that are larger than one million >>> bytes and whose names start with 'c' or 'w' except if the file's name is >>> core or its name ends with .log: >>> >>> ftp put /except:{{core}{*.log}} /larger:1000000 [cw]* >>> >>> >>> So if any of you have suggestions on scriptable FTP applications I'm >>> listening... >>> >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Support the digitization of the Iron County Miner newspaper archives Like this project on Facebook: https://www.facebook.com/digitizeicm