title: How to add multiple text file in a single zip file through shell script
body: <p>I have multiple text files residing in a single folder. These files are created on daily basis with time stamp on it like ABC_set_05082020.txt, DEF_set_050820202.txt. I want to create a single folder like destination_05082020.zip in same directory which contains all these files. </p>
  
  <p>The Script i created is like </p>
  
  <pre><code>FILE_DIR1=home/users/documents/Files
  FILE_NAME=$1
  FILE_DATE_TIME1="${FILE_NAME}_set_`date +%Y%m%d`"
  FULL_PATH1="${FILE_DIR1}${FILE_DATE_TIME1}.dat"
  
  if [ $# -lt 1 ]  
  then
  echo "*************************************************************************"
  echo "* ERROR script requires &lt;workbookname&gt; "
  echo "*************************************************************************"
  exit $EXIT_SYS_ERROR
  fi
  
  if [ "$FILE_NAME" = "ABC" ]
  then
  zip -r $FILE_DIR1/destination.zip $FULL_PATH1
  
  fi
  
  # done
  printf "$SCRIPT_NAME `date`: Info. Complete Successfully, exitings |$RC|.\n"
  exit $EXIT_SUCCESS
  </code></pre>
  
  <p>here i am able to create destination.zip in the same directory and destination.zip also contains ABC_set_05082020.txt but when i am unzipping destination.zip. It contains complete folder path like home/users/documents/files/ABC_set_05082020.txt. I don't want complete path in it when i unzip it. It should only contain my Text file. please help.</p>