Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 6 lines (4 sloc) 0.494 kB
#!/bin/sh
pg_dump -f ../data/media_and_feed_list/media_feeds_tags.dump -F c -t media -t feeds -t media_tags_map -t feeds_tags_map -t media_sets -t media_sets_media_map
pg_dump -f ../data/media_and_feed_list/tag_sets.dump -F c -t tag_sets
psql -c "COPY ((select distinct(tags.*) from tags natural join media_tags_map order by tags_id) UNION (select distinct(tags.*) from tags natural join feeds_tags_map order by tags_id) ) to STDOUT " > ../data/media_and_feed_list/media_and_feed_tags.tsv
Jump to Line
Something went wrong with that request. Please try again.