LogoopenSUSE Build Service > Projects
Sign Up | Log In

XArchive Manager

XArchive is a little different from your average bear. You see, it's not designed for any specific set of command line archiving tools. Instead XArchive uses external wrappers to talk to the command line tools. When XArchive starts up it checks it's wrapper directory, consulting each wrapper found to see if the appropriate command line tools are installed and, if so, what file types are supported. This means that a new archive format can easily be supported by just writing a wrapper for it's command line tool and dropping it in the wrappers directory.

Currently there are bash shell wrappers for: rar, tar, zip, and ace(ace supported using unace, so only reading and extracting available). Having these wrappers as fairly simple bash shell scripts means they are quite easily copied and modified to add support for different tools. In fact, once I had the tar-wrap.sh written and fully functional, making the zip-wrap.sh, rar-wrap.sh, and ace-wrap.sh from it took less than an hour.

Source Files

Filename Size Changed Actions
xarchive-0.2.8-6.tar.gz 151 KB almost 6 years ago Download File
xarchive.spec 2.27 KB 9 months ago Download File

Comments for home:zhonghuaren (0)