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
parent
c1ad97e1b8
commit
bb707d03d8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue