-1

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

Marco Herrarte
  • 1,540
  • 5
  • 21
  • 42
  • 1
    Yes, it is possible extract files from a tar. Can you be more specific about what your actual need is? – Robᵩ Jul 26 '13 at 14:54

1 Answers1

0

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.

Eiyrioü von Kauyf
  • 4,481
  • 7
  • 32
  • 41