Page 1 of 1

Move old files?

Posted: 09 Apr 2012 16:55
by lahtinenk
Hello,

I noticed that I can quite easily to select files that are older than two years, but I would like to move them with the path to a new place and that was not so easy. Perhaps it is already solved by someone, so I do not need to reinvent the wheel? This forum is quite active so I am sorry if this is "an old question". I searched but found no obvious solution.

Kimmo

Re: Move old files?

Posted: 09 Apr 2012 17:56
by nas8e9
The help file has a Rich Copy-section, which should show you how.

Re: Move old files?

Posted: 09 Apr 2012 18:23
by j_c_hallgren
lahtinenk wrote:This forum is quite active so I am sorry if this is "an old question". I searched but found no obvious solution.
Hi and welcome to the XY forums!

We appreciate that you attempted to search for this and understand that due to the feature name (Rich File Operations) you may not have found it...we discussed changing the name of this feature but didn't come up with any better name that might be more easily found that I recall.

See this blurb about it: http://www.xyplorer.com/product.htm#richops

Re: Move old files?

Posted: 09 Apr 2012 19:06
by Stefan
Hi Kimmo and welcome.
lahtinenk wrote:Hello,
I noticed that I can quite easily to select files that are older than two years,
but I would like to move them with the path to a new place and that was not so easy.
Kimmo
If your XYplorer version support scripting, you may want to try this script.
(for an how to run scripts see the link in my signature)

Code: Select all

    /*
       Repository_simple.xys, v0.1, 2012-04-09
       
       Repository script to copy selected items to $RepoStore.
       Original path structures are recreated in $RepoStore.
   */

   ///////////////////////////////////////////////////////////
   //User settings:
   $RepoStore  = "%UserProfile%\Backup";
        
   ///////////////////////////////////////////////////////////
   //Code:
   $CurDrive = substr("<curitem>", 0, 1);
        
   $Items    = get("SelectedItemsPathNames", "|");
         
   foreach($Item, $Items){
       //copyto location,  [source], [rootpath], [flags]
         copyto "$RepoStore", $Item, $CurDrive, 2;
   }
      
   ///////////////////////////////////////////////////////////
   //Output:
   Msg "Backup done.";   
   run explorer $RepoStore;

HTH? :D

Re: Move old files?

Posted: 09 Apr 2012 19:31
by lahtinenk
We appreciate that you attempted to search for this and understand that due to the feature name (Rich File Operations) you may not have found it...we discussed changing the name of this feature but didn't come up with any better name that might be more easily found that I recall.

See this blurb about it: http://www.xyplorer.com/product.htm#richops

I read about it when buying the license and it was one reason I selected this program. Now when I was trying to use it, I did not find it. Should I change some setting? When I use drag and drop I can not see "Rich File Operations". The program has quite many setting so perhaps I have something in the wrong position.

Sorry, I reread the help (several times actually) and now I figured it. I think I must try it more as it is little complicated tool.

Re: Move old files?

Posted: 13 Apr 2012 11:14
by admin
lahtinenk wrote:
We appreciate that you attempted to search for this and understand that due to the feature name (Rich File Operations) you may not have found it...we discussed changing the name of this feature but didn't come up with any better name that might be more easily found that I recall.

See this blurb about it: http://www.xyplorer.com/product.htm#richops

I read about it when buying the license and it was one reason I selected this program. Now when I was trying to use it, I did not find it. Should I change some setting? When I use drag and drop I can not see "Rich File Operations". The program has quite many setting so perhaps I have something in the wrong position.

Sorry, I reread the help (several times actually) and now I figured it. I think I must try it more as it is little complicated tool.
HI and welcome from me as well,

what part did you have difficulties to understand? I will try to make the Help better...

Don

Re: Move old files?

Posted: 13 Apr 2012 11:38
by lahtinenk
After reading the help I did not find the option Rich File Operations, only after reading the help again I understood that it is available only on search window. I am still wondering if there is some options for the operation as I saw a picture in the help which I did not see when doing the copy. So I need some new experiments.

Re: Move old files?

Posted: 13 Apr 2012 13:28
by Borut
Kimmo, I am not using Rich Operations often, but I think one can use them both on the normal file list, as well as on the search results list: you just need to select your objects, right click on them and drag and drop to the destination.

When releasing the right mouse over the destination you will have the opportunity to select one of the rich operations from a quite large pup up menu (rich move, rich copy, create folders, create branches, ...).

I apologise if I misunderstood your problem.

Re: Move old files?

Posted: 13 Apr 2012 14:10
by admin
Borut wrote:Kimmo, I am not using Rich Operations often, but I think one can use them both on the normal file list, as well as on the search results list...
No. Only from Search Results and from Branch View (which is jus a special type of Search Results).

Re: Move old files?

Posted: 13 Apr 2012 14:11
by admin
lahtinenk wrote:After reading the help I did not find the option Rich File Operations, only after reading the help again I understood that it is available only on search window. I am still wondering if there is some options for the operation as I saw a picture in the help which I did not see when doing the copy. So I need some new experiments.
OK, I will try to improve the Help section on Rich File Operations a bit.