1git-annex-importfeed(1)     General Commands Manual    git-annex-importfeed(1)
2
3
4

NAME

6       git-annex-importfeed - import files from podcast feeds
7

SYNOPSIS

9       git annex importfeed [url ...]
10

DESCRIPTION

12       Imports  the contents of podcasts and other feeds. Only downloads files
13       whose content has not already been added to the repository  before,  so
14       you can delete, rename, etc the resulting files and repeated runs won't
15       duplicate them.
16
17       When youtube-dl is installed, it can be used to download links  in  the
18       feed.   This  allows importing e.g., YouTube playlists.  (However, this
19       is disabled by default as it can be a security risk.  See the  documen‐
20       tation   of  annex.security.allowed-ip-addresses  in  git-annex(1)  for
21       details.)
22
23       To make the import process add metadata to the imported files from  the
24       feed, git config annex.genmetadata true
25
26       By  default, the downloaded files are put in a directory with the title
27       of the feed, and files are named based on the title of the item in  the
28       feed. This can be changed using the --template option.
29
30       Existing   files   are  not  overwritten  by  this  command.  If  "some
31       feed/foo.mp3"  already  exists,  it  will  instead   write   to   "some
32       feed/2_foo.mp3"  (or 3, 4, etc). Sometimes a feed will change an item's
33       url, resulting in the new url being downloaded to such a filename.
34

OPTIONS

36       --force
37
38              Force downloading items it's seen before.
39
40       --relaxed, --fast, --raw
41              These options behave the same as when using git-annex-addurl(1).
42
43       --fast Avoid immediately downloading urls. The  url  is  still  checked
44              (via HEAD) to verify that it exists, and to get its size if pos‐
45              sible.
46
47       --relaxed
48              Don't immediately download urls, and avoid storing the  size  of
49              the  url's content. This makes git-annex accept whatever content
50              is there at a future point.
51
52       --raw  Prevent special handling of urls by youtube-dl, bittorrent,  and
53              other  special  remotes.  This will for example, make importfeed
54              download a .torrent file and not the contents it points to.
55
56       --template
57              Controls where the files are stored.
58
59              The default template is '${feedtitle}/${itemtitle}${extension}'
60
61              The available variables in the template include these  that  are
62              information about the feed: feedtitle, feedauthor
63
64              And  these  that  are  information about individual items in the
65              feed: itemtitle, itemauthor, itemsummary, itemdescription, item‐
66              rights, itemid.
67
68              Also, title is itemtitle but falls back to feedtitle if the item
69              has no title, and author is itemauthor but falls back to feedau‐
70              thor.
71
72              (All of the above are also added as metadata when annex.genmeta‐
73              data is set.)
74
75              The extension variable is the extension of the file in the feed,
76              or sometimes ".m" if no extension can be determined.
77
78              The  template  also has some variables for when an item was pub‐
79              lished.
80
81              itempubyear (YYYY), itempubmonth (MM), itempubday (DD), itempub‐
82              hour  (HH),  itempubminute (MM), itempubsecond (SS), itempubdate
83              (YYYY-MM-DD or if the feed's date  cannot  be  parsed,  the  raw
84              value from the feed).
85
86              (These use the UTC time zone, not the local time zone.)
87
88       --no-check-gitignore
89              By  default,  gitignores are honored and it will refuse to down‐
90              load an url to a file that would be  ignored.  This  makes  such
91              files be added despite any ignores.
92

SEE ALSO

94       git-annex(1)
95
96       git-annex-addurl(1)
97

AUTHOR

99       Joey Hess <id@joeyh.name>
100
101                                                       git-annex-importfeed(1)
Impressum