I want to run the dos2unix
command on all files inside a folder. The issue here is the folder contains files and sub-folders. The sub-folder again contains files and folders. So if I simply run user/bin/dos2unix <folder>
, it will throw an error since there are sub-folders and folders present in the main folder.
Any idea on how I can bypass this so that the dos2unix
command would run on the files inside each of the folders?