Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top