Question

I've created a TAR with some xml and classes, In another server i need to put those files in various directories, something like an installable, is possible?

Using CentOS

Thanks

Was it helpful?

Solution

You can easily just have a package.format and a python script that extracts from that format and moves the files to relative locations or an absolute location if you know that. Is that what you're looking for?

You can use zipfile for the extracting/compressing and shutil and os to move/delete/modify the files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top