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
Post a Comment