How can iI compress a directory content without compress the full path folder structure too.
I am using this command to zip ana folder content under var/www/ directory, but when iI unzip the application.zip iI got a 2 level folder structure
/var/www/my important files
zip -r /var/appbackup/application.zip /var/www/
I would like to keep only files without "var" and "www" folders. How can iI do that.
Thank you advance?