# Way to repeat a move command to same destination

**URL:** https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716
**Category:** Help & Support
**Created:** [February 18, 2023, 12:34am UTC](https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716 "2023-02-18T00:34:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pschroeter](https://resource.dopus.com/letter_avatar_proxy/v4/letter/p/51bf81/32.png) [@pschroeter](https://resource.dopus.com/u/pschroeter)
#### Post date: [February 18, 2023, 12:34am UTC](https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716/1 "2023-02-18T00:34:43Z")

</div>

I'll find myself sorting files into folders and go through a group of unsorted files and decide, let's say, move all the cat photos to a folder labeled Cats. As I make my way down through a long list I'll be moving files to the same folder over and over in small groups. Is there a way to repeat the last move command?

---

<div class="post-metadata">

### Author: ![jinsight](https://resource.dopus.com/user_avatar/resource.dopus.com/jinsight/32/43666_2.png) [@jinsight](https://resource.dopus.com/u/jinsight)
#### Post date: [February 18, 2023, 2:12am UTC](https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716/2 "2023-02-18T02:12:37Z")

</div>

A button with the command:

COPY MOVE TO=/"your alias"  
or  
COPY MOVE TO="your folder path"  
or  
COPY MOVE TO="{dlgstring|Path:}"

The last requires inserting the path every time. A way around this is saving the path and pasting it in when the request appears.

---

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [February 18, 2023, 6:02am UTC](https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716/3 "2023-02-18T06:02:51Z")

</div>

> Is there a way to repeat the last move command?

I don't think there is. You could add the "Cats" folder to your favorites, either manually or by enabling SmartFavorites ( **Preferences / Favorites and Recent / SmartFavorites / Enable SmartFavorites™ system** ) and then display it in a toolbar or in the folder tree.

---

<div class="post-metadata">

### Author: ![NotNull](https://resource.dopus.com/letter_avatar_proxy/v4/letter/n/f05b48/32.png) [@NotNull](https://resource.dopus.com/u/NotNull)
#### Post date: [February 18, 2023, 11:38am UTC](https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716/4 "2023-02-18T11:38:29Z")

</div>

Another alternative is to make use of the _File Collection_ feature:

- In the Folder Tree, select **File Collections**
- Right-click and select **New collection**
- Name it something like Organize photos and press ENTER
- Select this collection in the Folder Tree  
The _Organize photos_ will be opened in a Lister tab
- Add a folder to the collection:
  - Drag the Cats folder to this tab  
A dialog appears: "_Do you want to add selected folders to the collection as_  
_collection members, or as sub-collections (including all contents)?_"
  - Select **Members**

- Repeat for other folders

  
Now you can SHIFT-drag your photos to the appropriate folder to move them there.

If all photos are sifted, you kan keep the collection for later use or delete it.

To delete a collection, right-click it in the folder tree and select **Delete**  
This will delete just the collection and keeps your Cats alive 😉

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [February 18, 2023, 11:50am UTC](https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716/5 "2023-02-18T11:50:52Z")

</div>

You might find these useful for selecting files in many different places and then copying or moving them all to one place:

> [@DopStack](https://resource.dopus.com/t/dopstack/35671):
>
> [dopus\_Op9d9nynty] [dopus\_LpUnBgQYdH] About: A Script AddIn which replicates the Drop Stack feature from OSX's Pathfinder. The new command DopStack will open a dialog (remembering it's position). You can drop files and folders from any Lister onto …

> [@Scrap Collection toolbar](https://resource.dopus.com/t/scrap-collection-toolbar/6615):
>
> This toolbar has some very simple buttons which may streamline the process of using a temporary "scrap" collection to collect a bunch of files. The Send to Scrap button adds the selected files & folders to a collection called Scrap. Clear Scrap rem…

Since Opus can be a dual-pane file manager, you can also keep the destination folder open on the right while you go through folders on the left, selecting and copying/moving things across. The Copy Files button/hotkey will send things from source to destination in one push, without having to use drag & drop or copy and paste.

---

<div class="post-metadata">

### Author: ![WKen](https://resource.dopus.com/letter_avatar_proxy/v4/letter/w/eb9ed0/32.png) [@WKen](https://resource.dopus.com/u/WKen)
#### Post date: [February 19, 2023, 11:32am UTC](https://resource.dopus.com/t/way-to-repeat-a-move-command-to-same-destination/43716/6 "2023-02-19T11:32:03Z")

</div>

?  
[Quick buttons for directory organisation - Buttons/Scripts - Directory Opus Resource Centre (dopus.com)](https://resource.dopus.com/t/quick-buttons-for-directory-organisation/6532/27)
