[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [works on the comman line]
From: |
Uwe Brauer |
Subject: |
Re: [works on the comman line] |
Date: |
Sun, 20 Feb 2022 16:46:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> I tried to use
> (defun rcd-zip-file ()
> "ZIP single file within Dired."
> (interactive)
> (let* ((file (car (dired-get-marked-files t)))
> (zip-file (concat file ".zip")))
> (when file
> (start-process "ZIP" "ZIP" "zip" "-9j" zip-file file)
> (revert-buffer))))
> Or
> (defun rcd-zip-file ()
> "ZIP single file within Dired."
> (interactive)
> (let* ((file (car (dired-get-marked-files t)))
> (zip-file (concat file ".zip")))
> (when file
> (start-process "ZIP" "ZIP" "zip" "-9" "-j" zip-file file)
> (revert-buffer))))
> But not worked. This seems to be cursed!
I have to correct me, sorry.
It works, what happens is the
dired-do-compress
does create a new directory.
When I run unzip from the command line it is ok
smime.p7s
Description: S/MIME cryptographic signature
- how to generate a zip file (not a directory) within dired, Uwe Brauer, 2022/02/20
- Re: how to generate a zip file (not a directory) within dired, Jean Louis, 2022/02/20
- Re: how to generate a zip file (not a directory) within dired, Uwe Brauer, 2022/02/20
- [a directory is also created] (was: how to generate a zip file (not a directory) within dired), Uwe Brauer, 2022/02/20
- [works on the comman line] (was: [a directory is also created]), Uwe Brauer, 2022/02/20
- Re: [works on the comman line] (was: [a directory is also created]), Jean Louis, 2022/02/20
- Re: [works on the comman line], Uwe Brauer, 2022/02/20
- Re: [works on the comman line],
Uwe Brauer <=
- Re: [works on the comman line], Emanuel Berg, 2022/02/20
- Re: [works on the comman line], Uwe Brauer, 2022/02/21
- Re: [works on the comman line], Emanuel Berg, 2022/02/25
- Re: [works on the comman line] (was: [a directory is also created]), Emanuel Berg, 2022/02/20