clean_sync_leftovers.sh
author Krista 'DarthMama' Bennett <krista@pep.foundation>
Mon, 18 Nov 2019 15:34:21 +0100
changeset 4205 f75e9274551f
parent 3165 0d3e23fbdaec
child 3471 3e68b40d3978
permissions -rwxr-xr-x
Ugh. Old API.
krista@3165
     1
#!/bin/bash
krista@3165
     2
krista@3165
     3
cd src; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
krista@3165
     4
cd ../asn.1; hg status . | sed '/?\ /!d' | sed 's/?\ //' |  xargs rm
krista@3165
     5
cd ../sync; hg status . | sed '/?\ /!d' | sed 's/?\ //' |  xargs rm
krista@3165
     6
cd ..