Been banging my head against the wall few hours now....
trying to recursively zip subfolders, but only the files in them. I've been trying to modify this script:
for i in */*/; do zip -j -r "${i%/}.zip" "$i" ; done
This is almost perfect, but zipped files still has the actual subfolder with files in it. Expected result would only to have the files in the zip file not the subfolder containing the files.
Any help appreciated. Thanks