Re: static path and variable name of zip file when backup a directory
Sorry I can't post new topic, so I am asking question here. Please see screenshot https://prnt.sc/g8a2ig
currently I am trying this command
zip -r "!?&Enter an Archive Name:?/home1/tanxe/backup/archive.zip!" !&
but I want to replace "archive" with directory name I want to zip.
It's not possible to default the prompt value to the name of selected file, if that's what you ask for.
Though with a shell construct, you can force the default, if you leave the prompt empty.