문제

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