File types editable belowįor FILE in `ls /Current_File_Location/ | egrep "mkv|mp4"`ĭIR=`echo $FILE | rev | cut -f 2-d '. #Create Folder from name and move to final location. I have this set to run at a specific time, but just in case HandBrake is taking longer than I expect or I'm processing more than 1 file.įind /Files_Location -maxdepth 1 -type f -mmin 10 -exec mv " done This checks a folder looking for files that are at least 10 minutes old and the reason for that is I didn't want files to be attempted to be moved or tinkered with while HandBrake is converting. Basically a 2 part operation for my sanity and as well I want to make sure there are no conflicts while running. I wanted a way of Creating folders based off file names so I could store them easier for myself and reduce the drag of attempting to open up a share in windows and wait for ever for it to load or simply freeze. I rip all My HD content down to SD content so my 2 boys can easily watch on their iPads via Plex and it also insures there is no un-needed on the Fly Transcoding while everybody is home or if/when they want to sync with Plex and take with them. Set newfolder = objFSO.GetFolder(source
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |