Skip to content

Instantly share code, notes, and snippets.

@JT5D
Forked from ttscoff/Archive Day One entries
Created November 10, 2013 12:21
Show Gist options
  • Select an option

  • Save JT5D/7397601 to your computer and use it in GitHub Desktop.

Select an option

Save JT5D/7397601 to your computer and use it in GitHub Desktop.
# cd into your Journal/entries/ folder first
# completely untested. Use at your own risk.
for file in $(grep -le "date>2012" *.doentry); do mv $file /backup_folder/; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment