I am using zip on ubuntu 20.04 to create backup files which I then send to a backups device.
I use the following zip command : zip -r /tmp/stuff.zip /home/someone/stuff
to create a backup of the "stuff" directory. When I look at the contents of the generated zip file the leading slash has been removed from all of the zip file members. After reading the man page for zip I tried to use the "--absolute-path" option, but I received an error telling me that that option was not supported.
How can I prevent ZIP from removing the leading slash ?