Jump to content

Media Folder Cleanup Tool & User Management Tool [Basic Batch Files]


Recommended Posts

ssbomber32
Posted

Hi Community Peeps,

Just thought I'd share 2x tools written as scripts I thought maybe helpful for other members to use.

1. The First tool is a batch file that when placed in the root folder of any of your Media folders [eg: Movies, TV or Music], it will search and remove any junk files that can accumulate over time in your folders.  Check it out, change and use as needed.  Simple file, but useful.  USE WITH CAUTION - IF PLACED IN THE WRONG FOLDER IT COULD REMOVE FILES YOU DON'T WANT DELETED.

2.  The second tool is also a batch file that you keep in your Emby Server Installation root folder.  After the initial setup of finding and placing into the file the corresponding Folder ID's to the User ID's you can run a config.xml file update from a reference folder [usually yours or admin account] to all user's on your server.  Great when you want to change around layout and order of library's or change order of newly added library's.  This saves me so much time now, and I only need to add another few lines (actually pretty much copy and paste) if I need to add a new user.

I tried to include instructions within the files, but reach out for help.

Let me know how you use them and if they're useful to you.

RemoveAllUnwantedFilesInMediaFolders.bat UpdateUserLibraryConfigToLatestLayout.bat

  • Like 1
Posted

Thanks for sharing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...