help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (emacs+unix): How to have a file-name containing slashes, angle-brac


From: Lennart Borgman (gmail)
Subject: Re: (emacs+unix): How to have a file-name containing slashes, angle-brackets, etc?
Date: Sun, 24 Aug 2008 00:48:42 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

David Combs wrote:
> In article <address@hidden>,
> The Badger  <address@hidden> wrote:
>> 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?
> 
> Thanks for the suggestion
> 
> For some (many?) purposes, yes,  Like for downloading an entire
> tree, of course.
> 
> But say I'm grabbing files about a given subject.  I google
> the subject-name, and find some stuff here, some there,
> some of them buried way down in some dir-structure --
> and for this kind of thing, I want all of them that
> I've checked out to be good stuff to be stuffed into
> the same directory, like maybe
> 
>      myHistoryDoc/historyOfEmacs/
> 
> What then?


(expand-file-name "www.aaa.com/~john/foo.txt" historyOfEmacsDir)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]