|
From: | Gregory Heytings |
Subject: | bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86 |
Date: | Tue, 21 Sep 2021 20:48:29 +0000 |
Would it not be easier to unconditionally untar the contents in a temporary directory, and to either move its contents to the current directory if it contains only one entry, or to rename it to a directory based on the tar file name when it contains more than one entry?Easier in what sense?In the sense of "DWIM".
Patch attached.
Uncompress-tar-files-in-a-DWIMish-way.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |