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

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

gtk - Python Window Resize -

c# - read full xml file data over tcp -