When I try to run this on a folder in linux I get the following error
glob error { Error: EACCES: permission denied, scandir '/root' errno: -13, code: 'EACCES', syscall: 'scandir', path: '/root' }
I have tried several different glob patters with little success
/!(root|.)/*.{mp4,avi,mkv,m4v,ts,mov,vob}
I have my files in this format
/Movie Name and (year)/Movie Name and (year).mkv
When I try to run this on a folder in linux I get the following error glob error { Error: EACCES: permission denied, scandir '/root' errno: -13, code: 'EACCES', syscall: 'scandir', path: '/root' }
I have tried several different glob patters with little success
/!(root|.)/*.{mp4,avi,mkv,m4v,ts,mov,vob}
I have my files in this format
/Movie Name and (year)/Movie Name and (year).mkv
Any suggestions?