Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- IFS=$'\x0A'$'\x0D'
- salida=$(ls -F | grep /)
- for carpetai in $salida
- do
- cd $carpetai
- find -regextype posix-egrep -regex ".*(mp4|srt)$" |xargs -I{lecciones} mv "{lecciones}" .
- cd ..
- done
Advertisement
Add Comment
Please, Sign In to add comment