Hacker News new | ask | show | jobs
by Fletch137 3182 days ago
I like to use: `alias sp='vim ~/notes/scratchpad-$(date +"%m-%d-%Y-%T")'`
1 comments

I use

    #!/bin/bash
    mkdir -p ~/Dropbox/scratch/$(date +"%Y-%m-%d")
    vim ~/Dropbox/scratch/$(date +"%Y-%m-%d")/$(date +"%Y-%m-%d-%H-%M-%S")
for convenient sorting by date, and throw stuff in Dropbox for automatic syncing across my machines.