Hacker News new | past | comments | ask | show | jobs | submit login

system("tar --delete-files -czf archive.tar.gz $datadir/");

What could possibly go wrong?




$datadir could be emtpy




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: