Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ find . -name '*.txt' -exec rm -f {} ;
- $ find . -name '*.txt' -print | xargs rm -f
- $ find . -name '*.txt' -print0 | xargs -0 command
- for file in *.txt ; do
- [ -f "$file" ] || continue
- # 実行したいコマンド
- echo "$file"
- done
Add Comment
Please, Sign In to add comment