all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to let ob-shell to download file and get result as a link to file?
@ 2018-03-26 15:35 stardiviner
  2018-03-26 18:06 ` Michael Welle
  0 siblings, 1 reply; 8+ messages in thread
From: stardiviner @ 2018-03-26 15:35 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

I tried the following example:

```

#+begin_src shell :mkdir yes :dir "data/tmp" :results file :file 
"crackzor_1.0.c.gz"
wget -c "http://ben.akrin.com/crackzor/crackzor_1.0.c.gz"
#+end_src

#+RESULTS:
[[file:data/tmp/crackzor_1.0.c.gz]]
```

But the files is empty, I check out Org-mode document about `:file` 
header argument, seems org-babel will write result to `:file` specified 
file. I wander how I can handle upper case correctly? (don't write 
result to file, just insert a link to downloaded file as a result)


[-- Attachment #2: Type: text/html, Size: 1216 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-29 16:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 15:35 How to let ob-shell to download file and get result as a link to file? stardiviner
2018-03-26 18:06 ` Michael Welle
2018-03-27  2:56   ` [PATCH] support insert link without write result to :file link stardiviner
2018-03-27  6:26     ` Nicolas Goaziou
2018-03-28 16:11       ` stardiviner
2018-03-28 16:23         ` Nicolas Goaziou
2018-03-29  3:39           ` stardiviner
2018-03-29 16:30             ` Berry, Charles

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.