I am attempting to zip a website's home directory but the archive contains the entire path of folders before getting to the one to be zipped. The command zip -r compressed_data.zip /home/vivek/public_html
results in compressed_data.zip containing home->vivek->public_html rather than simply public_html and its contents.
What switch can I add to the command to omit including all folders in the path?