7z-folder v1.6

Last update 2021-04-26


This program is designed for . . .

Compressing folder and files to 7z format. Some options are available. The 7za used command store filesystem permissions (such as UNIX owner/group permissions or NTFS ACLs). Not designed for large backup/archival purposes. On Ubuntu, use ‘sudo apt-get install p7zip-full’ to install required command.

What for:

Quick backup of the local repository in case of problem with the new modifications (for example).


Requirements:
$ # On Ubuntu, use: 
$ sudo apt-get install p7zip-full

7z-folder Debian package installation:

$ sudo dpkg -i 7z-folder-1.6-amd64.deb

Uninstall:

$ sudo dpkg -P 7z-folder

How it’s made

Functionalities

Some pictures

whole.jpg

How to compile

  1. Be sure you have Golang version >= 1.16 installed in right way, Go installation.

  2. Getting source from repository:

    1. git preferred method (the most close to $GOPATH old usage):
    $ cd "your-local-workspace"
    $ git clone "https://github.com/hfmrow/7z-folder" "7z-folder"
    $ cd 7z-folder
    $ go build . && ./7z-folder
    
    1. golang method (this one put retrieved package to $GOPATH/pkg/pkgName):
    $ go get -d "github.com/hfmrow/7z-folder"
    $ cd ${GOPATH}/pkg/mod/github.com/hfmrow/7z-folder*
    $ go build . && ./7z-folder
    
If you have gomodules enabled, all of the following step will be done automatically you can skip it.

Playing with code

    func main() {
        devMode = true
    ...    

into

    func main() {
        devMode = false
    ...

This operation indicates that the internal behavior of the software will be modified to adapt to the production environment (display of errors, location of the configuration file, etc.).

Os information:

Name Version / Info / Name
GOLANG V1.16.3 -> GO111MODULE=”on”, GOPROXY=”auto”
DISTRIB LinuxMint Xfce
VERSION 20.1
CODENAME ulyssa
RELEASE #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021
UBUNTU_CODENAME focal
KERNEL 5.8.0-50-generic
HDWPLATFORM x86_64
GTK+ 3 3.24.20
GLIB 2 2.64.6
CAIRO 1.16.0
GtkSourceView 4.6.0
LiteIDE 37.4 qt5.x
Qt5 5.12.8 in /usr/lib/x86_64-linux-gnu

You got an issue ?

Used libraries

Visit