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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -