Move old files?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
lahtinenk
Posts: 3
Joined: 09 Apr 2012 16:44

Move old files?

Post 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

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Move old files?

Post by nas8e9 »

The help file has a Rich Copy-section, which should show you how.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Move old files?

Post 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
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Move old files?

Post 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

lahtinenk
Posts: 3
Joined: 09 Apr 2012 16:44

Re: Move old files?

Post 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.

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Move old files?

Post 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

lahtinenk
Posts: 3
Joined: 09 Apr 2012 16:44

Re: Move old files?

Post 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.

Borut
Posts: 1472
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

Re: Move old files?

Post 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.
Win 10 Pro 64bit

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Move old files?

Post 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).

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Move old files?

Post 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.

Post Reply