ZIP exclude option not working - Solaris 10
Hi,
I running a latest patch/version of zip (version 3.0). When i'm zipping my files, i've encoutered a problem, i need to exclude a certain file when zipping all files in 1 directory but seems like the file is included and zip completely ignore the "-x" flag. Maybe i'm missing something here or doing it the wrong way.
I have 4 files and in 1 directory (ETL_test):
excl_file
file1
file2
file3
I want to exclude "excl_file" from the zipped archive (sk.lookup_test.zip), and this is the command i'm running and the output:
# zip -jmT /ETL_test/sk.lookup_test.zip /ETL_test/* -x /ETL_test/excl_file
0