scripting - shell script to traverse files recursively -


Help me to create a shell script to run a special command (any) on each file in a folder It is necessary to dive continuously in sub-directories such as

I'm not sure how to get started.

One point will be enough in the right direction. Thank you.

present to apply a command (e.g., echo ) Use files , at the bottom of the path

  find-type f -exec echo "{}" \;  

For directories, use -type d


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -