Combining FIND and MV together

By bhenry3 ·
Tags: Linux
This command strings works but I don't understand all of the component parts.

find . -iname "*sourdough*" -exec mv '{}' ~/Documents/Recipe/Sourdough/ \;
I know what 'find' does but why the dot before iname? could '-exec' be replaced with the pipe '|'? What does '{}' do? And finally why '\;' at the end of the string?
Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums