automatically getting current working directory name for creating tgz file custom command
i currently use this custom command :
which means a window popup on wisncp and i can manually enter the tar file name (renaming archive.tgz as the above custom command shows) and hit ok so file going to be compressed as .tar or .tgz file format.
i need to know how instead of "archive.tgz" how to get automatically "current working directory name".tgz for creating tgz file for the selected files in that current working directory ?
any help guys ? i am stucked
put at least a bump if you can . thanks for the help.
tar -cz -f "!?&Archive Name:?archive .tgz!" !&
which means a window popup on wisncp and i can manually enter the tar file name (renaming archive.tgz as the above custom command shows) and hit ok so file going to be compressed as .tar or .tgz file format.
i need to know how instead of "archive.tgz" how to get automatically "current working directory name".tgz for creating tgz file for the selected files in that current working directory ?
any help guys ? i am stucked
put at least a bump if you can . thanks for the help.