1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-07 04:19:25 +02: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 ```sh
cd /path/to/your/movies/files/ 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 # Windows & Linux