I've tried searching this online, but I haven't come across the right button code.
Sorry of the length, but I really need to type it because it's seemingly simple in my imagination - but difficult to articulate...
I have a 'Source' folder named "OBS Recordings" that exists at this path:
A:\Gaming\GTA V\OBS Recordings\
Naturally within my source folder, I have multiple subfolders and files that should be moved:
ex. OBS Recordings\Saturday\video.mp4
ex. OBS Recordings\Sunday\Team Game\video.mp4
etc.
I want to move the folder and its contents to a new 'Target' location:
E:\GTA V Backups\
So cutting and pasting the "OBS Recordings" folder would accomplish what I want within the 'Target' folder:
E:\GTA V Backups\OBS Recordings
However the problem is in the 'Source' folder.
In normal move behavior, the "OBS Recordings" folder and all its sub-content is deleted. Instead, I'd like only the files to be deleted - while preserving the folder+subfolder structure.
Does that make sense?
Can I create a button to accomplish this?
Sorry I couldn't edit this into the original post...I have to perform this action on multiple locations, not just the specific locations I mentioned.
Is possible to create a custom "Paste" style button that could move the cut contents normally...but preserve the source folder structure? Something where I don't always have to edit in the locations?
The @disable* command modifiers at the top are not required. I added them to prevent accidental execution where wasn't intended. The command should already work for any source folder(s) you have selected.
You can create multiple button/menu items to address each seprate location...
Button1:
Copy TO "E:\folder1"
Button2:
Copy TO "E:\folder2"
Otherwise if you want to work with the dual lister and copy the selected source folder to destination side...
Alternatively, you could turn on flat view and recreate the folder structure during the move operation. If you want to use a delete filter, I'd recommend Type rather than Name.