Delete folders, but keep subfolders and files

I backuped my Amiga-Collection, but because Amiga uses a info-file for a dir to show an icon on the Workbench, I always put the folder and the info-file into a separate folder. This looks like this:

[code]Folder 1

  • Subfolder 1
  • Subfolder 1.info
    Folder 2
  • Subfolder 2
  • Subfolder 2.info[/code]
    ...and so on.

Now I just want to copy the Subfolders incl. the info-files. Because there're a hundreds of separate folders I search for a way which will do this automatically. Any suggestions?

One way is to do a Find using a filter that will only match things at the 2nd level in your diagram, then copy the results.

Using a Location clause would probably be a good way to do that. e.g. Location Match (Regexp) C:\Amiga Stuff\[^\]+ would match "C:\Amiga Stuff\Folder 1\Subfolder 1" (since its location is "C:\Amiga Stuff\Folder 1").

Thanks Leo, I will play with filter (btw using DO v4/5 does not make fun these days if you have v11 :slight_smile:).

Easy way - flat view (mixed) - and copy without re-creating structure.

Nope! Why? Because Flat will show you also the following subfolders and files (you would need to search for the subfolder and the info-files)!

You show me structure - in every directory you have files and you want to get that files from that subdirectories into one folder. So of course flat view shows you folders too, but you do not must select them, just select files and copy them. While copy in flat view, Opus asks you for recreate structure or just copy files. Or I just missunderstand you.

You missunderstand. I only want the 1st subfolder and it's iconfile (Amigaformat), but on this folder there're also follwoing other folders and files:

Folder
-Subfolder1
--Subfolder2
--Subfolder3
---Subfolder 4
---File 1
--File2
--File3
-Iconfile

Flat would work if we would have the option to set the level/depth (e.g. show only 1 level would show only 1st subfolder). Maybe this would be a useful feature-request?

Flat can help anyway, in grouped mode. But it required to look at the indentation so it's not really good idea. But still possible, especially in power mode (where you do not deselect all files accidentally).