News for hackers. Stuff that matters.
Re:Ask HN: Help, I'm stuck on HN by mcb3k on Monday December 16, 2013 @02:41PM (#6917277)
I wrote a BASH script[1] that would swap a file with similar restrictions. I'm not sure I ever got the kinks all sorted, but it was definitely a thing that I did.

[1] https://gist.github.com/mcb3k/1326729

Re:Ask HN: Help, I'm stuck on HN by randallma on Monday December 16, 2013 @05:00PM (#6918137)
https://github.com/jcromartie/gsd.sh

I added a pull request to add in linux support, so this should work on both osx and linux platforms now.