I searched google and the bug and list archives for coreutils but couldn't
find any mention of support for local or non-local file URIs,

file:///foo/bar
file://remote.baz/foo/bar

has there ever been any discussion of support for file URIs in coreutils?

I often copy files into the clipboard (using fedora 25 with gnome shell
3.22.3) and then have to manually remove the file URI at the command line
to remove the file:/// part.

$ cp file:///data/photos/DCIM/Camera/IMG_20170613_074704.jpg butterfly.jpg
cp: cannot stat
'file://file:///data/photos/DCIM/Camera/IMG_20170613_074704.jpg': No such
file or directory
$

I can understand why non-local files might not be supported but thought
that this might not be a terribly difficult representation to support even
if it just strips off the URI (s/^file:/\/\/\/\//), at least on POSIX
systems.

the RFC is here,

https://tools.ietf.org/html/rfc8089

-- 
:wq

Reply via email to