Commit Graph

13 Commits

Author SHA1 Message Date
admin
94052659f6 Old count_subdirectories and get_subdirectories functions were unusably inefficient when testing on real directories. Updated the functions so that directories are iterated efficiently 2024-05-26 22:33:35 -04:00
admin
6ad29c3fed Added print pauses 2024-05-25 21:17:29 -04:00
admin
ceb07f4858 get_subdirectories was recursively obtaining all subdirectories... this was not the desired behavior. Only want to count files in subdirectories. Function adjusted and now only grabs subdirectory_1, ..., subdirectory_n, directory. 2024-05-19 16:29:02 -04:00
admin
00735da543 Fixed formatting when counting files in subdirectories - now does not show 0 if the directory contains no non-folder files. More logic conditions needed to ensure correct formatting when omitting this 2024-05-19 16:05:19 -04:00
admin
d64ec57b69 Changed the rename to check for ' [' instead of '['. That way if there is a [ symbol in the directory already, it won't skip it unless it is using the same 2 space prefix. Also it looks cleaner to have it spaced out. May change it to a different prefix later. 2024-05-19 15:46:47 -04:00
admin
bd9f268f52 count_folder_files now returns a file count list for each subdirectory if subdirectories exist 2024-05-19 15:27:54 -04:00
admin
bc94aad72d added get_subdirectories function 2024-05-19 15:16:29 -04:00
admin
a80d99f871 count_folder_files will now return a different result if more than 0 subfolders 2024-05-19 15:13:16 -04:00
admin
e0410dbe3e Fixed usage string 2024-05-19 13:35:21 -04:00
admin
79351568a7 Now works with multiple files as arguments 2024-05-19 13:33:16 -04:00
admin
545279d6c6 Now cleans files correctly whether or not there is a slash in the directory_name 2024-05-19 13:26:12 -04:00
admin
453a6c98a3 Refactored clean directory name code 2024-05-19 13:18:13 -04:00
admin
19e8c46c3e Todo: If backlash exists in the input, run existing cleaning code. Otherwise, clean directory name with rsplit 2024-05-19 13:05:59 -04:00