octave_tar可以通过Octave软件源安装。
>> pkg install -forge octave_tar
octave_tar可以在线安装。
>> pkg install 'https://github.com/CNOCTAVE/octave_tar/releases/download/1.0.1/octave_tar.tar.gz'
octave_tar可以直接使用tar包安装。
>> pkg install octave_tar.tar.gz -local
>> pkg load octave_tar
tar_pack (SOURCE1, SOURCE2, ... , OUTPUT_FILENAME)
输入一个或多个文件或文件夹名SOURCE1, SOURCE2, ...和打包后的文件名OUTPUT_FILENAME。
如果返回0,则代表打包成功;否则代表打包失败。
tar_unpack (TAR_FILENAME, DESTINATION_DIR)
输入打包文件名TAR_FILENAME和解包后的文件名DESTINATION_DIR。
如果返回0,则代表解包成功;否则代表解包失败。
>> tar_pack("file", "file.tar")
>> tar_pack("dir", "dir.tar")
>> tar_pack("file", "dir", "new.tar")
>> tar_unpack("file.tar", "new_file")
>> tar_unpack("file.tar", ".")
@misc{CNOCTAVE2024, author = {Yu Hongbo, }, title = {octave_tar}, year = {2024}, howpublished = {\url{https://github.com/CNOCTAVE/octave_tar}}, }
@techreport{CNOCTAVE2024, author = {Yu Hongbo, }, title = {octave_tar Document}, institution = {BA DU XIN SHANG}, year = {2024}, number = {1}, month = {11}, url = {https://cnoctave.github.io/octave_tar/index.html}, urldate = {2024-11-01}, }
@article{https://engrxiv.org/preprint/view/4084, doi = {10.31224/4084}, url = {https://engrxiv.org/preprint/view/4084}, author = {Yu Hongbo, }, keywords = {CNOCTAVE, GNU, cross domain, open-source, octave_tar}, title = {Utilizing octave_tar and octave_zstd for Efficient Management of Academic Datasets: A New Frontier in Data Science}, publisher = {engrxiv}, year = {2024}, copyright = {Creative Commons Attribution 4.0 International} }