all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jean Louis <bugs@gnu.support>
Cc: 56494@debbugs.gnu.org
Subject: bug#56494: 29.0.50; Tramp: No such file ' Buongiorno A Te ' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4
Date: Tue, 12 Jul 2022 16:48:36 +0200	[thread overview]
Message-ID: <87bktu8jzv.fsf@gmx.de> (raw)
In-Reply-To: <courier.0000000062CBD973.00003E4D@stw1.rcdrun.com> (Jean Louis's message of "Mon, 11 Jul 2022 11:03:12 +0300")

Jean Louis <bugs@gnu.support> writes:

Hi Jean,

> I cannot execute !rm on this file:
>
> (dired-get-filename) ⇒ "/scp:motorolausb:/storage/emulated/0/Download/' Buongiorno A Te '  -  ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4"
>
> Error is:
> rm: cannot remove '/scp:motorolausb:/storage/emulated/0/Download/'\''
> Buongiorno A Te '\''  -  ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4': No
> such file or directory [2 times]
>
> But file is for sure there:
>
> It is displayed with -al switches as following:
>
>   /scp:motorolausb:/storage/emulated/0/Download:
>   -rw-rw----  1 root everybody 22897869 May 20 17:29 ' Buongiorno A Te '  -  ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4
>   drwxrwx---  2 root everybody     4096 Jul 11 10:50 .
>   drwxrwx--- 23 root everybody     4096 Jul  8 11:47 ..

How do you have called !rm? Via "! rm RET" in dired? This shall work.

Note, that (dired-get-filename) returns the full remote file name, which
cannot be given to any remote process as argument. If you want to use
this programmatically, you must call (file-local-name (dired-get-filename))

Best regards, Michael.





  parent reply	other threads:[~2022-07-12 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-11  8:03 bug#56494: 29.0.50; Tramp: No such file ' Buongiorno A Te ' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4 Jean Louis
     [not found] ` <handler.56494.B.165752665824264.ack@debbugs.gnu.org>
2022-07-11  8:26   ` bug#56494: Acknowledgement (29.0.50; Tramp: No such file ' Buongiorno A Te ' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4) Jean Louis
2022-07-11  9:53 ` bug#56494: 29.0.50; Tramp: No such file ' Buongiorno A Te ' - ( Luciano Pavarotti )-Aa-NLjOsLIE.mp4 Lars Ingebrigtsen
2022-07-12 14:48 ` Michael Albinus [this message]
2022-07-25 13:28   ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bktu8jzv.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=56494@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.