Welcome Guest.   Make a donation to an author on the site October 22, 2014, 10:09:03 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2010! Download 24 custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: Rescue orphans  (Read 18450 times)
Cavalcader
Charter Member
***
Posts: 192


Live Long & Prosper

View Profile Give some DonationCredits to this forum member
« Reply #25 on: September 27, 2006, 12:03:52 AM »

By the way, I hope some other folks are trying out the program (or the script). jgpaiva's done an excellent job with it
Logged

My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?
Cavalcader
Charter Member
***
Posts: 192


Live Long & Prosper

View Profile Give some DonationCredits to this forum member
« Reply #26 on: October 03, 2006, 09:32:34 PM »

Please be advised that there seems to be a bug when a sub-subdirectory within a subdirectory has files but the main dir only has the subdir. On my system it copies all the files to a single filename (no extension) in the root, and then deletes them. What you end up with is a file named after the subdir by itself in that dir, with the contents being whatever the last file copied was.

I know that's complicated -- here's a better way to put it.

Example:
Dir A
  File A1
  File A2
  Dir B
    < no files here >
    Dir C
      File C1
      File C2
      File C3
All the "Dir C" files get copied to dir (folder) "A" with the name "Dir B", and then they're deleted from Dir C. The "Dir B" file in "A" then only consists of one of the files that were in "C". In my testing, it happened to be the last one alphabetically, but that may vary.
 tellme

Result:
Dir A
  File A1
  File A2

  File (named "Dir C", no extension)
  Dir B
    < no files here >
    Dir C
      < no files here >


I've been in touch with jgpaiva, and he asked me to post here. So far, he can't reproduce the sequence of events.

Is anybody else using this script/program? Please reply. If not, I won't worry about keeping current info here. All this formatting's a pain. Wink
« Last Edit: October 03, 2006, 09:43:38 PM by Cavalcader » Logged

My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #27 on: October 04, 2006, 04:11:29 AM »

Man.. Thank you so much for this folder tree you made in your last post. Now i understood exactly where the problem was.
The folders weren't being moved correcly. It's fixed now.


RescueOrphans v1.01 updated 04-10-2006:
Quote
Retrieves single files lost in deep directories.
[Forum Topic][.ahk Version][.exe Version]
« Last Edit: October 04, 2006, 04:17:00 AM by jgpaiva » Logged

Cavalcader
Charter Member
***
Posts: 192


Live Long & Prosper

View Profile Give some DonationCredits to this forum member
« Reply #28 on: October 04, 2006, 01:06:05 PM »

Kewl! Yeah, I'm kind of a visual person myself -- it's real clumsy to put something like that situation above into words. smiley
Logged

My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?
Maggy160
Supporting Member
**
Posts: 12


View Profile Give some DonationCredits to this forum member
« Reply #29 on: May 09, 2007, 07:29:26 AM »

Wouldn't it be better if it would remove these empty folders as well?
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #30 on: May 09, 2007, 08:14:32 AM »

Wouldn't it be better if it would remove these empty folders as well?
Well.. I hadn't thought of that. But there's a utility at Skrommel's page which already does that, and probably does a better job than Rescue Orphans would do. Its name is 'DelEmpty' Wink
Logged

Maggy160
Supporting Member
**
Posts: 12


View Profile Give some DonationCredits to this forum member
« Reply #31 on: May 10, 2007, 04:17:30 AM »

But I'm lazy. Why two mouse clicks when a single click can do the trick. That's why I'm studying Python, Ruby and Autohotkeys. And used assembler quite a lot back in the 80's. Always hated Basic and never took the time to master C or C++ unfortunately.
Logged
Pages: Prev 1 [2]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.029s | Server load: 0.07 ]