![]() Just remember that you need to put this file into each sub-folder where you want to run it and you need to also give it execute permissions in each sun-folder you place it into. If you have movies sorted into sub-folders A,B,C etc then you need to copy the “file2folder” file into each relevant subfolder.Ĥ) Change to your subfolder cd mymoviefolderĥ) Give the script execute permissions chmod +x file2folderħ) Smile at the fact it was so damn fast that you couldn’t even leave your desk to make a cup of coffee □ It will work on ANY file type you throw at it.ģ) Copy the file “file2folder” to your movie drive. xml file etc all into the same directory. This script will move the movie, its corresponding. I gain a lot of free knowledge, scripts and utils from the open source community so this is simply my little back to the community. FileToFolder is an interesting bit of freeware that basically does one thing: it 'folderizes' files, by which we mean it creates an individual folder for any file you apply it to. One day when I have more time I’m sure I can make it an app but for now this will do what you need. I’ll admit this File to Folder Bash Script for Linux or OSX is very crude but it works and it is fast, really fast. I wrote this script in preparation for sorting my movie folders so that when my media player jukebox feature comes along it will fly through the scraping of movie information from the online movie databases. ![]() This will work on any Unix / Linux or Mac OS X environment. What this script does is move each file into a sub-folder with the name. Here’s a handy little bash script for sorting a folder on your hard drive that contains multiple movies or files of any type for that matter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |