I am using 7zip on my centos machine and ziping a file via command line.
This is my syntax
7za a -t7z backup.7z public_html\ -mx0 -xr!restricted_area
What i'm expecting with this syntax is to backup all files in public_html folder then exclude restricted_area folder, I am not really sure if this is correct, but the problem is I am getting this error:
-bash: !restricted_area: event not found
What does this suppose to mean? And also, Is my zipping syntax correct?