home       inleiding       sysadmin       services       links       bash       werk       nothing      

tar all individual files one by one in a directory ...

 

for x in $(ls); do tar -Scvzf $x.tar.gz $x ; done

or

find . -name "*img" -exec tar -Scvzf {}.tar.gz {} \;