1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 2437
/ 2 Years ago, tue, september 6, 2022, 3:26:30
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.
More From » command-line