[narthur@narthur-mbpro] ~ $ mkdir temp [narthur@narthur-mbpro] ~ $ cd temp [narthur@narthur-mbpro] ~/temp $ mkdir subdir [narthur@narthur-mbpro] ~/temp $ echo "some content" > subdir/some_file [narthur@narthur-mbpro] ~/temp $ git init Initialized empty Git repository in /Users/narthur/temp/.git/ [narthur@narthur-mbpro] ~/temp $ git add subdir/some_file [narthur@narthur-mbpro] ~/temp $ git commit -m "initial commit" [master (root-commit) d7023a8] initial commit 1 file changed, 1 insertion(+) create mode 100644 subdir/some_file [narthur@narthur-mbpro] ~/temp $ echo "changed content" > subdir/some_file [narthur@narthur-mbpro] ~/temp $ git commit -a -m "changed some_file" [master 3988dd1] changed some_file 1 file changed, 1 insertion(+), 1 deletion(-) [narthur@narthur-mbpro] ~/temp $ git rm subdir/some_file rm 'subdir/some_file' [narthur@narthur-mbpro] ~/temp $ git commit -m "removed some_file" [master dd8b0a1] removed some_file 1 file changed, 1 deletion(-) delete mode 100644 subdir/some_file [narthur@narthur-mbpro] ~/temp $ echo "new content" > new_file [narthur@narthur-mbpro] ~/temp $ git add new_file [narthur@narthur-mbpro] ~/temp $ git commit -m "add new_file" [master 86c9fa9] add new_file 1 file changed, 1 insertion(+) create mode 100644 new_file [narthur@narthur-mbpro] ~/temp $ git_export_all_file_versions subdir/some_file /tmp/demo_output Creating directory '/tmp/demo_output' Writing files to '/tmp/demo_output' .. [narthur@narthur-mbpro] ~/temp $ ls /tmp/demo_output/ 2020-04-08T17:20:31-04:00.d7023a8995b45252fc6435b0c5a5e70bb10d4ef3.some_file 2020-04-08T17:20:52-04:00.3988dd197b13aea2a181552b219ff8f0b54f8343.some_file