Compress
Like all languages, you have a few data manipulation functions.
compress zip <in> <out>
Description
Compress into ZIP format
Parameters
in: The path to in file - String - required
out: The path to the out file - String - required
admin
compress zip "archives/logs/cur_log.sql" "archives/logs/cur_log.sql.zip";
mentdb
1
compress unzip <in> <dir>
Description
Uncompress from ZIP format
Parameters
in: The path to in file - String - required
dir: The path to the directory - String - required
admin
compress unzip "archives/logs/cur_log.sql.zip" "archives/logs";
mentdb
1
compress tar <in> <out>
Description
Compress into TAR format
Parameters
in: The path to in file - String - required
out: The path to the out file - String - required
admin
compress tar "archives/logs/cur_log.sql" "archives/logs/cur_log.sql.tar";
mentdb
1
compress untar <in> <dir>
Description
Uncompress from TAR format
Parameters
in: The path to in file - String - required
dir: The path to the directory - String - required
admin
compress untar "archives/logs/cur_log.sql.tar" "archives/logs";
mentdb
1
compress tarGz <in> <out>
Description
Compress into TAR GZ format
Parameters
in: The path to in file - String - required
out: The path to the out file - String - required
admin
compress tarGz "archives/logs/cur_log.sql" "archives/logs/cur_log.sql.tar.gz";
mentdb
1
compress untarGz <in> <dir>
Description
Uncompress from TAR.GZ format
Parameters
in: The path to in file - String - required
dir: The path to the directory - String - required
admin
compress untarGz "archives/logs/cur_log.sql.tar.gz" "archives/logs";
mentdb
1
compress tarBz2 <in> <out>
Description
Compress into TAR BZ2 format
Parameters
in: The path to in file - String - required
out: The path to the out file - String - required
admin
compress tarBz2 "archives/logs/cur_log.sql" "archives/logs/cur_log.sql.tar.bz2";
mentdb
1
compress untarBz2 <in> <dir>
Description
Uncompress from TAR.BZ2 format
Parameters
in: The path to in file - String - required
dir: The path to the directory - String - required
admin
compress untarBz2 "archives/logs/cur_log.sql.tar.bz2" "archives/logs";
mentdb
1
compress jar <in> <out>
Description
Compress into JAR format
Parameters
in: The path to in file - String - required
out: The path to the out file - String - required
admin
compress jar "archives/logs/cur_log.sql" "archives/logs/cur_log.sql.jar";
mentdb
1
compress unjar <in> <dir>
Description
Uncompress from JAR format
Parameters
in: The path to in file - String - required
dir: The path to the directory - String - required
admin
compress unjar "archives/logs/cur_log.sql.jar" "archives/logs";
mentdb
1
compress gz <inFile> <outFile>
Description
Compress into GZIP format
Parameters
inFile: The path to in file - String - required
outFile: The path to the out file - String - required
admin
compress gz "archives/logs/cur_log.sql" "archives/logs/cur_log.sql.gz";
mentdb
1
compress ungz <inFile> <outFile>
Description
Uncompress from GZIP format
Parameters
inFile: The path to in file - String - required
outFile: The path to the file - String - required
admin
compress ungz "archives/logs/cur_log.sql.gz" "archives/logs/cur_log.sql";
mentdb
1
compress bz2 <inFile> <outFile>
Description
Compress into BZIP2 format
Parameters
inFile: The path to in file - String - required
outFile: The path to the out file - String - required
admin
compress bz2 "archives/logs/cur_log.sql" "archives/logs/cur_log.sql.bz2";
mentdb
1
compress unbz2 <inFile> <outFile>
Description
Uncompress from BZIP2 format
Parameters
inFile: The path to in file - String - required
outFile: The path to the file - String - required
admin
compress unbz2 "archives/logs/cur_log.sql.bz2" "archives/logs/cur_log.sql";
mentdb
1
© 2012 - 2023