I’m just wanna create a note, because sometime this simple thing is forgotten. To exclude a file or folder from archiving process, we can use –exclude option behind tar command. Example : tar -czvf file-result.tar.gz /path/to/file/or/folder/for/archiving –exclude “/path/to/exclude”
