DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: IDEA: Move all images off removable drive when inserted  (Read 24,142 times)

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
I am the family tech and always end up having to pull pictures from flash cards and the like - would it be possible to check a specific drive/range of drives for removable media and then move all the JPG/PNG/TIFF/etc (image format) files from the card and to a new location (set in an INI file or similar, so no user interaction is needed once the program is launched).

An ideal scenario would go something like this (for non-always-on):
  • User inserts card into drive F
  • User runs MoveMyPics.exe
  • Pictures from F go to C:\MyPics (from MoveMyPics.ini)
  • User is notified that images have been moved (or not, INI option?)
  • MoveMyPics closes
  • User removes card

-OR-

Scenario (for always-on):
  • MoveMyPics.exe is launched @ startup
  • User inserts card into drive G
  • MMP "sees" the drive
  • Pictures from G to go C:\MyPics
  • User is/not notified that images have been moved
  • User removes card

Possible? I just need something so I can shove the card in, run the app (or have it running), wait for the images to be moved, and pull the card out - as fast and silent as possible.

tmpusr

  • Instantiation stuck in meatspace with no backup
  • Member
  • Joined in 2005
  • **
  • Posts: 154
Auto Insert Notification
« Reply #1 on: July 02, 2009, 09:20 PM »
I'd like the same, but it should also auto-mount a TrueCrypt container file on the device. That either requires it to auto-type the password for TrueCrypt or to use the cached password (possible?).

« Last Edit: July 02, 2009, 09:22 PM by tmpusr »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #2 on: July 02, 2009, 10:59 PM »
more choices than you can poke a stick at

PicPark1 is intended to be run at startup - it scans for removable drives on a 2 second loop, and when one is found, scans for eligible image files and moves them to the destination folder (stored in the ini file).

PicPark2 is intended to be run once - insert your card/key/whatever and run the script.  It will scan for eligible image files and move them to the destination folder (stored in the ini file).

PicPark3 is intended to be run from the device itself.  User will be prompted for a destination directory (no ini file for this one).  Could be autorun on cards insertion

for 1 + 2 users will be prompted for the destination folder on the first run to create the ini file.  Any subsequent changes will need to be done by hand

if you want the opportunity to view the images before moving or copying you might look at this thread - http://www.donationcoder.com/forum/index.php?topic=15218.0
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler
« Last Edit: July 03, 2009, 05:22 AM by Target »

wreckedcarzz

  • Still lurking. Still an anthro.
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,629
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: IDEA: Move all images off removable drive when inserted
« Reply #3 on: July 03, 2009, 12:09 AM »
Didn't even think about a version to sit on the card itself - I coupled that with an autorun.inf file and its on both camera cards, and it works perfectly for me. :-* :Thmbsup:

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #4 on: July 03, 2009, 12:22 AM »
I coupled that with an autorun.inf file and its on both camera cards

watch out, cos there's currently no way of exiting the script if you don't want to run it.

to 'fix' this add the lines

if errorlevel
    exitapp

immediately after the fileselectfolder line (script will quit if the users cancels the dialog box) 
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: IDEA: Move all images off removable drive when inserted
« Reply #5 on: July 03, 2009, 12:23 AM »
more choices than you can poke a stick at

PicPark1 is intended to be run at startup
PicPark1 is intended to be run once - insert your card/key/whatever and run the script.
PicPark3 is intended to be run from the device itself.

Nice job!
May I introduce you to the number 2?
Chris

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #6 on: July 03, 2009, 12:57 AM »
May I introduce you to the number 2?

you're right, that does look odd....

(think about it...)
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #7 on: July 03, 2009, 01:43 AM »
Ok, is everyone now even?
The easy path is usually downhill...

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #8 on: July 03, 2009, 01:44 AM »
or is the matter squared? 
The easy path is usually downhill...

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: IDEA: Move all images off removable drive when inserted
« Reply #9 on: July 03, 2009, 02:06 AM »
or is the matter squared? 
not you two!
Chris

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #10 on: July 03, 2009, 02:43 AM »
to get back to the root of the problem, I blame cut and paste (what a pair!!)
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #11 on: July 03, 2009, 03:12 AM »
yep, cut and paste is hardly do-uble...
The easy path is usually downhill...

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #12 on: July 03, 2009, 03:30 AM »
this is just getting exponentially worse
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #13 on: July 03, 2009, 03:56 AM »
I second that completely.
The easy path is usually downhill...

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #14 on: July 03, 2009, 04:31 AM »
ordinally II'd let that go, but you've pushed it too farr
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #15 on: July 03, 2009, 04:45 AM »
Ok, ok, I'll let you win and be the runner-up...
The easy path is usually downhill...

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
Re: IDEA: Move all images off removable drive when inserted
« Reply #16 on: July 03, 2009, 04:54 AM »
So, that was a set point?

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #17 on: July 03, 2009, 04:57 AM »
Actually, I shouldn't give up that easily, I ain't a deuce-bag....

(think about that one)
The easy path is usually downhill...
« Last Edit: July 03, 2009, 04:59 AM by Shades »

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #18 on: July 03, 2009, 05:02 AM »
Ah, mistakes...who doesn't make a couple...
The easy path is usually downhill...

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #19 on: July 03, 2009, 05:03 AM »
actually i think it's a floating point
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
Re: IDEA: Move all images off removable drive when inserted
« Reply #20 on: July 03, 2009, 05:19 AM »
Actually, I shouldn't give up that easily, I ain't a deuce-bag....

(think about that one)

A match for a two ball bitch?

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #21 on: July 03, 2009, 05:20 AM »
now it's becoming a sore point (too sore!!)

but bring it on, I'm primed
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: IDEA: Move all images off removable drive when inserted
« Reply #22 on: July 03, 2009, 06:50 AM »
Hmmm, this is starting to look sound like a duet...
The easy path is usually downhill...
« Last Edit: July 03, 2009, 06:53 AM by Shades »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: IDEA: Move all images off removable drive when inserted
« Reply #23 on: July 03, 2009, 07:03 AM »
I'd love to stick around and hash this out, but I've only got lO minutes to catch my bus
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
Re: IDEA: Move all images off removable drive when inserted
« Reply #24 on: July 03, 2009, 07:06 AM »
depending on where you are coming from, to me it looks more of a duel

Original address: https://www.donationcoder.com/forum/index.php?topic=19021.0