John Socks on Nostr: nprofile1q…3fnuh The pattern "*.*" works for me, avoiding the "env" dir. The full ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqyv3m4ka7w5p075x9f7ztytm83u2t04nd5ku04f5khtcjlgg7894q63fnuh (nprofile…fnuh) The pattern "*.*" works for me, avoiding the "env" dir. The full directory is 27M, the archive is 15k.
echo -n "using venv? (y/n): " ; read venv
if [ $venv = 'y' ]; then
if ! which pip; then
echo "rats, pip not found."
exit 1
fi
pip freeze > freeze.txt
fi
# now tar
part1=`date +%Y-%m-%d`
part2='nix-py'
tar cvfz "../${part1}-${part2}.tgz" *.*
echo -n "using venv? (y/n): " ; read venv
if [ $venv = 'y' ]; then
if ! which pip; then
echo "rats, pip not found."
exit 1
fi
pip freeze > freeze.txt
fi
# now tar
part1=`date +%Y-%m-%d`
part2='nix-py'
tar cvfz "../${part1}-${part2}.tgz" *.*