How can I compress a directory content without compress the full path folder structure too.
I am using this command to zip a folder content under var/www/ directory, but when I unzip the application.zip I 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 I do that?