0385login:Penguin
2014/06/27(金) 09:55:03.09ID:cTHm+oKafluxboxを使っているレベルなのに、なぜ、コマンドの意味を考えないのかw
「$*」は引数だから、実際には、
------- hoge.sh ------
#!/bin/bash
mplayer -playlist <(find $* -type f \( -iname \*.ts -o -iname \*.avi -o -iname \*.mp4 \) -exec realpath {} \;)
-------- ここまで ------
を書いて、
$ bash hoge.sh /home/fuga/fugaguga /media/hoge/music
など好きなだけディレクトリを並べる。
それから、realpathはrealpathという名前のdebに入っている。
$ apt-file search bin/realpath
realpath: /usr/bin/realpath
texmacs: /usr/lib/texmacs/TeXmacs/bin/realpath
texmacs: /usr/lib/texmacs/TeXmacs/bin/realpath.py
tiger: /usr/lib/tiger/bin/realpath