[email protected] ~/archive2008/copy-every-nth-file/


Wed Jul 16 19:15:33 PDT 2008




comments content tags attachments related

wc content


cat content

This is a little gui that copies files from one directory to another directory. You can specify a step to selectively copy files (such as every tenth file, etc). I originally wrote this code to copy every nth pair of stereo images from one directory to another so there’s an option for that (if selected, the code assumes the stereo images have a trailing _0 or _1 to specify left image and right image. It will copy pairs of images and count each pair as a file). This code requires wxPython. The gui was created using wxGlade. To compile the source to a Windoze binary, make sure you have py2exe installed and run:

python setup.py py2exe

The executable will be in the dist directory. To compile the source into a Mac OS X app, make sure you have py2app installed and run:

python setup.py py2app

cat attachments


cat tags

software wxpython wxglade

cat related

Get Photos

cat comments

Comments powered by Disqus