Tagged Questions
2
votes
1answer
132 views
Restoring backup files
I have a directory in which are listed some .py files and some .py.bak files. I want to delete the .py files and restore the backup file renaming them *.py. Is there a shell script that can do this? ...
4
votes
3answers
3k views
How can i check that a remote computer is online for ssh / script acess?
i'm writting a script that will backup data from my laptop to an ubuntu server.
to do so, i'm looking for a (ba)sh command to test if the server is available before starting the backup. something like ...
8
votes
4answers
365 views
rolling diffs for storage of highly similar files?
At work we do a nightly dump of our mysql databases. From day to day, I would guestimate that close to 90-95% of the data is duplicate, increasing as time goes on. ( Heck at this point some are ...