From: The Badger <badgy@example.com>
To: David Combs <dkcombs@panix.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: (emacs+unix): How to have a file-name containing slashes, angle-brackets, etc?
Date: Sat, 16 Aug 2008 11:41:39 -0700 [thread overview]
Message-ID: <48A71F63.3090608@example.com> (raw)
In-Reply-To: <g850hk$rt5$1@panix2.panix.com>
Hello David,
Just a thought: Trying to encode the path of the remote file into the
filename after downloading seems weird. Why not just re-create the
folder structure?
For example, if you download
http://www.aaa.com/~john/foo-txt.htm
then you would have the following file on your disk:
/home/david/my web downloads/www.aaa.com/~john/foo.txt
Isn't that what pretty much what `wget', or any other web downloader
tool would do?
David Combs wrote:
> I'm downloading files of names like:
>
>
> http://www.aaa.com/~john/foo-txt.htm
>
> Now, when I do this in a browser (I use lynx (shell-account))
> the default name to store it under is foo-txt.htm.
>
> Years later, what I'll want to know is exactly where it came from, ie
> I'd like the filename to depict the entire url.
>
>
> Like this, perhaps?
>
> http://www.aaa.com/~john/foo-txt.htm
>
> Nope, because regardless of what the computer will
> make of it, it'll confuse *me* -- not knowing whether
> those slashes represent dir-separators within *my* computer,
> or in some far-away (maybe long dead) server.
>
>
> Hmmm. Maybe "---" for "/"?
>
> What about ":"?
>
> And what about "~"?
>
> Plus other chars I've not thought of?
>
>
>
>
> Making it even longer, if the *title* of the report in
> the file is "10 easy editing tips", and I want that reflected
> in the name too.
>
>
> Like 10-easy-editing-tips---http<colonSlashSlash>www.aaa.com... (you
> get the idea).
>
>
> And, whatever we decide on, another question comes up -- how to ENTER
> that NAME into the computer -- both in emacs (dired) and in, say, tcsh.
>
> What, iva C-Q for emacs and ^V in unix.
>
> Suggestions?
>
>
> Thanks!
>
>
> David
>
>
> P.S.: Oh, I forgot. tar shouldn't barf on the name.
>
>
>
>
next prev parent reply other threads:[~2008-08-16 18:41 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-15 22:38 (emacs+unix): How to have a file-name containing slashes, angle-brackets, etc? David Combs
2008-08-16 18:41 ` The Badger [this message]
[not found] ` <mailman.16876.1218850883.18990.help-gnu-emacs@gnu.org>
2008-08-23 21:57 ` David Combs
2008-08-23 22:48 ` Lennart Borgman (gmail)
2008-08-23 22:21 ` Xah
2008-08-24 12:31 ` Nikolaj Schumacher
[not found] ` <mailman.17461.1219581096.18990.help-gnu-emacs@gnu.org>
2008-08-24 19:12 ` Xah
2008-08-25 0:02 ` David Hansen
2008-08-25 6:12 ` David Kastrup
2008-08-25 9:03 ` Xah
[not found] ` <mailman.17478.1219622906.18990.help-gnu-emacs@gnu.org>
2008-08-25 13:08 ` Phil Carmody
2008-08-25 20:13 ` Nikolaj Schumacher
[not found] ` <mailman.17519.1219695209.18990.help-gnu-emacs@gnu.org>
2008-08-26 8:42 ` Xah
2008-08-26 15:02 ` Nikolaj Schumacher
[not found] ` <mailman.17589.1219762958.18990.help-gnu-emacs@gnu.org>
2008-08-26 17:03 ` Xah
2008-08-26 20:40 ` Nikolaj Schumacher
[not found] ` <mailman.17618.1219783235.18990.help-gnu-emacs@gnu.org>
2008-08-26 21:54 ` Xah
2008-08-27 11:58 ` Bernardo Bacic
2008-08-27 14:05 ` Nikolaj Schumacher
[not found] ` <mailman.17666.1219838494.18990.help-gnu-emacs@gnu.org>
2008-08-27 17:10 ` Xah
[not found] ` <mailman.17676.1219845916.18990.help-gnu-emacs@gnu.org>
2008-08-27 17:34 ` Xah
2008-08-27 19:50 ` Cor Gest
2008-08-28 9:42 ` Nikolaj Schumacher
[not found] ` <mailman.17742.1219916570.18990.help-gnu-emacs@gnu.org>
2008-08-28 10:13 ` Xah
2008-08-28 10:49 ` Lennart Borgman (gmail)
2008-08-28 13:29 ` Nikolaj Schumacher
[not found] ` <mailman.17755.1219930152.18990.help-gnu-emacs@gnu.org>
2008-08-29 2:23 ` Xah
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=48A71F63.3090608@example.com \
--to=badgy@example.com \
--cc=dkcombs@panix.com \
--cc=help-gnu-emacs@gnu.org \
/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.