I was doing backups in bash and I have written few other bash scripts as well. I wanted to shift it to python because I needed to learn python for AI techniques and I was always delaying that. As I have to do sys admin things very often, so I thought if I do things in python then it will make good at python. Now I am confused with few things
1)I have seen that I can do things in 1 line in bash but in python I need to write 15 lines of code for that .e,g making the tar ball backups. sed, awk can filter files in line where in python I have to write many more lines. So my questions am I going on wrong path. Is python really used for sys admin things or not. For me its like making a 5 pages static website in J2EE rather in plain html.
2)I want to know how why should person choose python if bash can do everything. I am only talking bout sys admin things.
So I need to know am I over killing myself by trying to use python or is it just because I'm still learning that I'm finding it difficult?
I just want to know whether python really meant for those things like backups, checking log files etc.