Small scripts to help with various different file related tasks.
If not otherwise marked, the Python scripts should work for Linux, too.
All CMD files only work on Windows, of course.
change_created_date.pychanges the Created Date of the chosen file(s) to a specified date and time. (Windows only)change_modified_date.pychanges the Modified Date of the chosen file(s) to a specified date and time.ChangeUserProfileName.ps1allows the renaming of a users home folder, including making the required registry change.filter_iphone_photos.pyremoves .AAE and their original .JPG/.PNG files from photos & videos imported from an iOS device, keeping only modified and unedited files.find_password_office.pybrute-force tries passwords with various options to open a MS Office document. This shall only be used if you have the express permission of the document’s owner! Otherwise, using it is illegal under most jurisdictions! It’s very slow and a bit limited anyway, so is only really useful for easy one-word passwords you already have a basic idea of what they are and have just forgotten the exact word. False positives are also possible – if that’s the case, just continue from there with the given option.ChangeAllRegistryKeysByRegex.ps1changes all registry keys and values according to a given regex pattern and replacement. This really takes a while to run and will not work for everything! Also, it can severely damage your Windows install if used wrongly. Use with caution!ChangeFirefoxUserPreferences.cmdchanges some Firefox user preferences of all users from something to something else, all specified at the top of the script, if Firefox is not currently running.iPhonePhotoFiltererCompiler.cmdusesPythonFileCompiler.cmdto create a .exe of the above Python script to enable users without a Python installation to run it.list_files.pylists all files' unique names in a directory and all it's subdirectories into a text file.PingTest.cmdtries all combinations of IPs in 192.168.X.X and prints those where an answer is gotten.PythonFileCompiler.cmdtakes 3 arguments, .py file name, .exe file name and path, and creates a .exe file from a Python script file usingpyinstaller. (pip install pyinstaller)rename_invoice_pdfs.pyrenames PDFs of invoices in a directory according to their content.ReplaceDesktopFirefoxExeWithShortcut.cmdreplaces the new .exe file of Firefox on the desktop for all users by a normal shortcut on the public desktop.show_pdf_text.pyshows all text found in a PDF file. Useful e.g. for OCRd PDFs to find problems.show_unique_lines.pygets all unique lines in a specified text file and outputs them in a new file.SortOutRename.cmdsorts all files prepended with an "!" in all subdirectories of it's path into "!" subdirs of those dirs and removes the "!" from the file name.UpdateAllGitReposInSubfolders.cmdupdates all Git repos in all subfolders of a base folder.