Skip to content

vsbabu/gists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Gists

GitHub doesn't allow one to export all gists in one shot (at least I've not found it yet!). Thought of adding my gists one at a time here and then maintaining it here instead. This repo is more like a backup.

Getting all gists into new repo

Quick way to clone all gists repos is by installing github cli (gh) and then:

gh gist list -L 20|awk '{print $1;}' |xargs -I % sh -c 'gh gist clone %'

This will create one repo folder per gist.

Now, let us say this repo is in a folder ../gists. Following will copy all files from cloned gists repo, without sub directories into that.

fd -tfile|xargs -I % cp % ../gists/

About

Github gists does not have export-all. This is to solve that for my gists.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors