Question: Now I have Installed Linux as a primary operating system but now I need windows for some applications that wine can't run,I have a 32 GB flash drive I have installed windows 7 on it but it can't boot on windows I used to use EASYBCD to be able to boot to a windows VHD on USB but on Ubuntu I'm stuck and can't do any thing,Is there is a way to install windows 7/10 on USB without VHD to boot normally by selecting the flash drive from the boot menu and if there isn't how do I make my computer boot to the VHD on the USB without harming my Ubuntu system ? 

Sorry for the Bad English and thanks in advance .

Answer: 
There is no need to script this, ExifTool can do it by itself and it will be much faster than looping through items.  

`exiftool -r -all= -ext jpg -ext gif -ext png /path/to/top/directory/` 

`-r` recurse through subdirectories  

`-ext …` limit processed files to specified extentions, remove these items to process all files that Exiftool can remove metadata for.
Since exiftool is awesome, then there's no need for it, but in principle you could do with `find` something like this...

First check that your search finds what you want (using -iname to make it search case insensitively since both `.JPG` and `.jpg` etc are common)

```
find . -iname '*.jpg' -or -iname '*.png' -or -iname '*.jpeg' -or -iname '*.gif' 

```

if will output a list of found files with paths starting here (including subdirectories)

then repeat adding the command to act on the files found at the end `| xargs exiftool -all=`

```
find . -iname '*.jpg' -or -iname '*.png' -or -iname '*.jpeg' -or -iname '*.gif' | xargs exiftool -all=

```

or safer if filenames have spaces, to use null as a delimiter instead of spaces:

```
find . -iname '*.jpg' -print0 -or -iname '*.png' -print0 -or -iname '*.jpeg' -print0 -or -iname '*.gif' -print0 | xargs --null exiftool -all=

```

If nothing matches (for example the directory is empty) then it does nothing

`.` is the current working directory. If you aren't there, replace `find .` with `find /path/to/parent/directory`