topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday October 4, 2024, 12:22 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: Rescue orphans  (Read 44920 times)

Cavalcader

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 194
  • Live Long & Prosper
    • View Profile
    • Donate to Member
Re: IDEA: Rescue orphans
« Reply #25 on: September 27, 2006, 12:03 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
My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?

Cavalcader

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 194
  • Live Long & Prosper
    • View Profile
    • Donate to Member
Re: IDEA: Rescue orphans
« Reply #26 on: October 03, 2006, 09:32 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. ;)
My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?
« Last Edit: October 03, 2006, 09:43 PM by Cavalcader »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: DONE: Rescue orphans
« Reply #27 on: October 04, 2006, 04:11 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:
Retrieves single files lost in deep directories.
[Forum Topic][.ahk Version][.exe Version]
« Last Edit: October 04, 2006, 04:17 AM by jgpaiva »

Cavalcader

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 194
  • Live Long & Prosper
    • View Profile
    • Donate to Member
Re: DONE: Rescue orphans
« Reply #28 on: October 04, 2006, 01:06 PM »
Kewl! Yeah, I'm kind of a visual person myself -- it's real clumsy to put something like that situation above into words. :)
My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?

Maggy160

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 12
    • View Profile
    • Donate to Member
Re: DONE: Rescue orphans
« Reply #29 on: May 09, 2007, 07:29 AM »
Wouldn't it be better if it would remove these empty folders as well?

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: DONE: Rescue orphans
« Reply #30 on: May 09, 2007, 08:14 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' ;)

Maggy160

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 12
    • View Profile
    • Donate to Member
Re: DONE: Rescue orphans
« Reply #31 on: May 10, 2007, 04:17 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.