Copying, Moving, Renaming, Deleting current folder

Here are some commands which let you work on the current folder.
For instance, you enter a folder and you decide to copy the current directory to the destination lister.
With this way, you'll recreate the entire folder and not only the files.

Example :
left lister is c:\download\rock
right lister is d:\music

Being in the left lister, you press this copy button and you'll copy the "rock" folder to the right lister. The final result will be d:\music\rock

I'm not sure if it's very clear... just let me know if you need more details :slight_smile:

You can add them to the copy, move, rename buttons as the third command (in order to launch them with the middle mouse click)

Copying :

COPY FILE={sourcepath$} 

Moving :

@async dopusrt /cmd COPY MOVE FILE={sourcepath$} Go Up

Renaming :

Rename .\ SIMPLE

Deleting (this one is a button, left click to deletes the current folder
righ click to delete the current folder and bypass the recycle) :

<?xml version="1.0"?> <button backcol="none" display="both" separate="yes" textcol="none" type="three_button"> <label>Delete Parent Directory</label> <icon1>#delete2</icon1> <icon2>#marker</icon2> <button backcol="none" display="both" textcol="none"> <label>Delete Current Directory to Bin</label> <icon1>#delete2</icon1> <function type="normal"> <instruction>@async dopusrt /cmd DELETE FILE={sourcepath$} </instruction> <instruction>Go Up</instruction> </function> </button> <button backcol="none" display="both" textcol="none"> <label>Delete Current Directory NO BIN !</label> <icon1>#delete2</icon1> <function type="normal"> <instruction>@async dopusrt /cmd DELETE FILE={sourcepath$} NORECYCLE</instruction> <instruction>Go Up</instruction> </function> </button> </button>

I think some of you could enjoy these :slight_smile:

I sure can... :smiley:

Appriciated...Thanks! :sunglasses:

Best,
midi.

Here's more simple way to do the last thing, delete the current folder:

Delete .

And the no-recycle version:

Delete . NORECYCLE

In both cases, Opus will automatically go up a level after the folder is deleted.

(I think this may not have worked at the time of the original post above but it works now.)