find -exec {} \;

Da ich es mir nie merken kann:

find -name expression -exec command {} \;

Hierbei steht {} für den aktuellen Dateinamen.
Den Backslash sollte man nicht vergessen, da es dann i.d.R. nicht klappt

Alternativ kann man ggf. auch xargs verwenden:

find -name expression | xargs command

This entry was posted in Computer stuff. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared.

This blog is protected by Dave\'s Spam Karma 2: 15013 Spams eaten and counting...