You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*.tar ) if [ ! -s "${TARFILE}" ] ; then echo "\n\t Unable to locate file '${TARFILE}'.\n Bye!\n" ; exit 1 ; fi ;;
* ) echo "\n\t This may only be used to create a custom-formatted index file of a specified tar.\n\t The index is reverse alphanum sorted with all directory file references segregated at bottom of the list.\n" ; exit 1 ;;
esac
tar tvf "${TARFILE}" | sort -k6.1,7.0 -r >"${TARFILE}.INDX"