![]() It also would never conduct like the description says, because of using \. Without javascript, Im thinking that dragging the folders with Copy/Move(13), is probably the best you can conduct them.īut stay away from the batch, because the way it looks right now, it will delete (overwrite) all existing same-named files. So then, just drag the folders into the BRU list, so then all the matching filenames will present themselves in the list.īut if you change anything inside Filters(12) they will instantly disappear, so then having to drag your folders again. Then to use something like Windows Explorer to find the BadFolderNames, maybe something like kind:folder BadFolderName. Then inside Filters(12) to put checkmarks only in "Files" and "Subfolder", then to put your file matches inside of "Mask". There is Copy/Move(13) "Path" to flatten the path, but Im thinking its not the automatic way that you are looking for?Īnother way besides javascript, to only match files by their parent folder name.įirst to put a counterfeit drive like X:\ in the top folder path, and press to remove all filenames from the list. The Filters(12) "Mask" does grant or forbid certain foldername or filename matches, but not pathname matches. Like to only match the files in a parent folder called "BadFolderName", the Filters(12) "Condition" is like. Im not understanding completely, but \ can only be added, not matched inside of the folder path.Įxcept that javascript does grant matching \ inside the folder path, so maybe its what your needing? John neurocrash Posts: 5 Joined: Wed 3:01 am Thanks for bringing this to my attention, I didn't see that menu option so I'll have to test it. The objective in my case isn't to move things up a certain number of folder levels, but just to flatten folders of a certain name to their parent folders such as D:\Category\UnneededFolderName\File to D:\Category\File I was wondering if it might be possible to including \, so that file/path names like *\foldername\* could be changed to *\* (not sure of the correct syntax, but I hope you get the idea. The only thing that Im guessing, is that maybe someone altered the batch, after it got posted? \.\.\ to move all files up three folders in their folder-tree.īut the posted batch would take much editing to make it safe, and to conduct like the description. Inside Filters(12) "Mask" is where you put matches like *.txt and then put checkmarks only in 'Files' and 'SubFolder'. Luuk wrote:In the BRU menu, first to put a checkmark in "Renaming Options, Advanced Options, Allow using '\' in Renaming Criteria". :: And remove the grandparent folder (if empty) :: Remove the now empty parent folder (even if %1 no longer exists) ogg files in basepath and process them one by one in the :PROCESS routineįor /f "usebackq delims=" %%x in (`dir /s /b "?SEPATH%"\%FILETYPE%`) DO call :PROCESS "%%x"įor %%a in ("%~1%UPLEVEL%") do echo. :: Number of folders to move the file up.įor /L %%x in (1,1,%MOVEUP%) do set UPLEVEL=!UPLEVEL!\. Set BASEPATH="E:\OverwatchVoiceLines\BASICS\Renamed\Ana" ![]() (You can comment the move command by putting :: in the front and you can echo the two directories intead to see if its correct.) ![]() NOTE: I am not responsible for any mishaps this may cause. ![]() txt files 3 directories up, you set the type to txt and set the compared number to: total layers-number of layers you want to skip. It just counts down the number of layers it remembers until it doesnt give a crap about the rest. For me it was: E: (1) \OverwatchVoiceLines (2) \BASICS (3) \Renamed (4) \Ana (5)\Anniversary (6). If you want to use it for yourself, change the file type (.ogg for me), and the value compared to the counter (for me 6) - you can see for yourself how much you need by counting. ![]()
0 Comments
Leave a Reply. |