topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday December 14, 2024, 2:53 pm
  • 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

Author Topic: Clever copy  (Read 5301 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Clever copy
« on: February 19, 2011, 11:36 AM »
Clever copy
I would in the most simple way.
I usually create folders that contains shortcuts to other files and folders in many hard disks. Even in net harddisks.

I would like one of these options :

1) Convert from a folder all shortcuts to the physical corresponding file. Just copying the file.
2) A clever copy program from one folder to another substituting in the target folder all shorcuts with the physical files or a copy of the hard-links.
3) A super clever program to decide in the target folder real files or physical files and shortcuts corresponding in the target files to that real files.

Do you know something to do this ?

Best Regards


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #1 on: February 20, 2011, 04:31 AM »
Do you know a software for click a shortcut and convert in the real file or file the shortcut is pointing to ?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #2 on: February 20, 2011, 04:59 AM »
I'd suggest to only pursue this request at your new thread in the Coding Snacks section, over here. That's the best place for it.

cmpm

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 2,026
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #3 on: February 20, 2011, 05:02 AM »
Or 'Open Target'.

http://www.megaleech...t/taxonomy/term/1762

Not sure exactly what you are after Contro.

cmpm

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 2,026
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #4 on: February 20, 2011, 05:13 AM »
oops, sorry, dead link
here's the file

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #5 on: February 20, 2011, 05:19 AM »
Or the fine N.A.N.Y. 2011 entry PartialDownload could be useful?

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #6 on: February 20, 2011, 07:30 AM »
I'' take a good look.

Best Regards
 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #7 on: February 20, 2011, 07:40 AM »
Or 'Open Target'.

http://www.megaleech...t/taxonomy/term/1762

Not sure exactly what you are after Contro.

 :(  Is not what I am looking for. Seems very interesting for open the container folder of the original file of the shorcut.


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #8 on: February 20, 2011, 08:02 AM »
I try to explain better now :

I have a folder to copy to another folder  (folder 1 to folder 2)
Folder 1 contains files shortcuts and folder shortcuts.
In the copy process i wish in folder 2 :
a) substitute any file shorcut for the file pointing to.
b) substitute (copy) any folder shorctut for the folder pointing to.

In other words : Folder 2 don't contains shortcuts.

For me is useful too if I can copy the folder 1 in folder 2 and after select the shorcuts to transform in the files or folders they are pointing to.

I think this is a difficult program to make in the full version because may exists circular processes and scan a shortcut folder that may contains other shortcut folder or shortcut files . Or even a shortcut folder inside the original folder pointing exactly to that folder.....

I  am not a programmer but in autohotkey or autoit language the only command seems to be : FileGetShortcut()

So the clever soft may need decide some things before make the copy from folder 1 to folder 2.

Suppose my second real case : I use an image inventory of all things of my house. First I photograph everything by room. Every room is a folder. Then I classify by themes : books, kitchen, textil, or even combined criterias. And use shortlinks to those images .  The real things comes complex if I tell you that the photos are taken ordinarily by date and are saved in my imagen hard drive.

So :
I have my images in the O: disk of images
Folder for my rooms in the Y: data disk full of shortcuts pointing to the original images
Folder for my themes in the Y: data disk : books, videos, cd collection, wine bottles, etc full of shortcuts pointing to the original images.

Now I want to show my inventory system copying the inventory folder (containing the folder for my rooms, and the folder for my themes) to an external disk, usb pendrive, cd or dvd.

That is one of the reasons I would like to know a script to transform the windows shortcut in the file is pointing to.

 :-\

 P.D. And the miracle of the clever copy process would be that the program decides where put soft-links again. By example : put the original images in the rooms folders, and in the themes folders put shortcuts to the rooms folders.........
But I hope we can make simplier and in the easiest way.



« Last Edit: February 20, 2011, 08:07 AM by Contro »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Clever copy
« Reply #9 on: February 20, 2011, 08:27 AM »
Or the fine N.A.N.Y. 2011 entry PartialDownload could be useful?

 :(  Nop. Sorry. I'll try express better. Excuse my english.