I am trying to run this zip command on an Ubuntu WSL:
zip -r /home/chansen/db-backup/backup.zip /mnt/c/data/db/*
I want the zip to contain all contents of
db at the top level, but the resulting zip has those files nested inside all the parent directories. The zip file contains:
mnt > c > data > db > myFiles. I just want the myFiles part to be at the top level without all those parent directories.