1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-22 16:02:43 +00:00

added maxdepth so it does'nt screw up the existing folders

ashagg1976 2020-06-03 04:31:32 +05:30
parent c1ad97e1b8
commit bb707d03d8

@ -33,7 +33,7 @@ I used a program called [Files 2 Folder](http://www.dcmembers.com/skwire/downloa
```sh
cd /path/to/your/movies/files/
find . -name "*.mkv" -exec sh -c 'mkdir "${1%.*}" ; mv "${1%}" "${1%.*}" ' _ {} \;
find . -maxdepth 1 -name "*.mkv" -exec sh -c 'mkdir "${1%.*}" ; mv "${1%}" "${1%.*}" ' _ {} \;
```
# Windows & Linux