I play World of Warcraft. This online game allows you to use user modifications - bits of code people write. You put these bits of code in a directory - the directory structure of the bits of code is hierarchical - directories that contain both files, and other directories full of files.
I have downloaded a piece of software that scans this directory, and based on the content attempts to download any newer versions. There is a slight problem - sometimes the downloader "thinks" the current UI mod is the latest, and it isnt.
What I need is this - in a directory of files, delete everything below the first level of directories - leaving the top level undeleted. Here is a sample of the directory structure:
Code: Select all
<Top Level>
- UI Mod #1 Dir
- DIr1
File1
- Dir2
File1
FIle2
-Files
-UI Mod #2 DIr
- DIr1
File1
FIle 67
- Dir2
File1
FIle2
Etc. I want to "select" everything BELOW UI Mod #1 and #2 dirs, delete the content, but leave UI Mod #1 and #2 directories in tact (just empty). the downloader program will see these directory names, and not finding any content I am sure to get the entire package, fresh and with no overlap in old or useless files.
I can do this with other file managers. I would like to know if XYPlorer can do this.
If so - I have several different applications where i could use this at work. Let me tell you- in my previous file manager it was doable but VERY difficult and not easy to manage if a directory changed - if I changed directories up a bit it meant reconfiguring the search.
Thanks for the help.
-Files