Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ls -1 | while read d
- do
- test -d "$d" || continue
- echo $d
- (cd $d ;
- ls -v \*.avi | while read each; do echo "file '$each'" >> mylist.txt; do$
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement