Horje
bash find touch Code Example
bash find touch
find . -type f -exec touch {} +
bash find touch
-exec ... \; will run one item after another. 
So if you have three files, the exec line will run three times.

-exec ... {} + is for commands that can take more than one file at a time 
(eg cat, stat, ls). 
The files found by find are chained together like an xargs command. 
This means less forking out and for small operations, can mean a substantial speedup.




Shell

Related
install gulp global Code Example install gulp global Code Example
arch linux create windows bootable usb Code Example arch linux create windows bootable usb Code Example
git checkout next commit Code Example git checkout next commit Code Example
E: Package 'tesseract-ocr-dev' has no installation candidate Code Example E: Package 'tesseract-ocr-dev' has no installation candidate Code Example
copy first 100 lines from a file linux Code Example copy first 100 lines from a file linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13