General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 9th, 2011, 01:49 PM
1337Shade 1337Shade is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 3 1337Shade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 26 sec
Reputation Power: 0
Copy script/program - help needed

Hello dear Forum!

I'd need a script/program, that copies all files (for ex. only *.jpg, *.avi...) and within a chosen filesize (above 400kB and below 600MB)...
It should be runnable on every Windows computer, without installation.

I have basic programming knowledge in different languages, but to be honest I don't really know how to do this job...

Reply With Quote
  #2  
Old March 10th, 2011, 12:46 PM
1337Shade 1337Shade is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 3 1337Shade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 26 sec
Reputation Power: 0
Someone helped me writing a .jar... if anyone's interested, just let me know and I'll post the result

Reply With Quote
  #3  
Old March 21st, 2011, 02:50 AM
alexsmth114 alexsmth114 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 10 alexsmth114 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 20 sec
Reputation Power: 0
Even I have the same problem, eagerly waiting for someone to reply to your post!!..

Reply With Quote
  #4  
Old March 21st, 2011, 08:32 AM
1337Shade 1337Shade is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2011
Posts: 3 1337Shade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 26 sec
Reputation Power: 0
As I said, its written in Java and you have to start it via the command line

The one who helped me provided me a few versions of the program, and this would be the latest.

// since I can't post I can't provide it to everybody, just pm me, if you want the code...
also here would be the code if you'd like to know it:


you can start the script with:
commandline cd to the directory where the .jar is, then:

java -jar searchlatest.jar "Source" "Destination"

the program provides, entering min and max file size, then how many file types you'd like to search for, then you can enter them. Then it will as you if you'd like to exclude paths, like when searching on C:\ you can exclude C:\Program Files and C:\Windows (or whatever)...
then the progress when gathering the file infos is shown, by listing all the files the program goes trough (but I think its shows every file twice there - but whatever)
then it says how many it found and if you really would like to copy... to copy progress itself is shown in 1/x, 2/x... so you can see how many are left...


// oh, and having this does not mean, that I don't want any other script/program
I'm open for any new suggestions/scripts/programs...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Copy script/program - help needed


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap