go-mtree
File systems verification utility and library, in likeness of mtree(8)
File Explorer
- go.yml
- validation.yml
- FUNDING.yml
- tasks.json
- mutate.go
- mutate_test.go
- validate.go
- main.go
- COPYING
- govis.go
- govis_test.go
- README.md
- unvis.go
- unvis_test.go
- vis.go
- vis_test.go
- 0001.sh
- 0001a.sh
- 0002.sh
- 0003.sh
- 0004.sh
- 0005.sh
- 0006.sh
- 0007.sh
- 0008.sh
- 0009.sh
- 0010.sh
- 0011.sh
- 0012.sh
- 0012trunc.sh
- 0013.sh
- 0014.sh
- 0015.sh
- 0016.sh
- main.go
- main.go
- file1
- file2
- file3
- file4
- lonelyfile
- file1
- file2
- file3
- deeperfile
- deeperfile
- deepfile
- file
- file6
- file7
- this_is_a_file
- goodlink
- .hiddenfile
- badlink
- goodfile
- file with spaces
- file1
- file2
- file
- file1
- file2
- a
- b
- c
- file
- file3
- collection.tar
- hardlinks.tar
- relative.mtree
- singlefile.tar
- source.casync-mtree
- source.mtree
- test.tar
- traversal.tar
- debug.go
- md2man.go
- roff.go
- LICENSE.md
- bypass.go
- bypasssafe.go
- common.go
- config.go
- doc.go
- dump.go
- format.go
- spew.go
- LICENSE
- color.go
- color_windows.go
- doc.go
- LICENSE.md
- README.md
- colorable_others.go
- colorable_windows.go
- go.test.sh
- LICENSE
- noncolorable.go
- README.md
- doc.go
- go.test.sh
- isatty_bsd.go
- isatty_others.go
- isatty_plan9.go
- isatty_solaris.go
- isatty_tcgets.go
- isatty_windows.go
- LICENSE
- README.md
- difflib.go
- LICENSE
- .gitignore
- .travis.yml
- block.go
- doc.go
- entities.go
- esc.go
- html.go
- inline.go
- LICENSE.txt
- markdown.go
- node.go
- README.md
- smartypants.go
- .gitignore
- .golangci.yml
- .travis.yml
- alt_exit.go
- appveyor.yml
- buffer_pool.go
- CHANGELOG.md
- doc.go
- entry.go
- exported.go
- formatter.go
- hooks.go
- json_formatter.go
- LICENSE
- logger.go
- logrus.go
- README.md
- terminal_check_appengine.go
- terminal_check_bsd.go
- terminal_check_js.go
- terminal_check_no_terminal.go
- terminal_check_notappengine.go
- terminal_check_solaris.go
- terminal_check_unix.go
- terminal_check_windows.go
- text_formatter.go
- writer.go
- yaml_custom.go
- yaml_default.go
- yaml_fail.go
- assertion_compare.go
- assertion_format.go
- assertion_format.go.tmpl
- assertion_forward.go
- assertion_forward.go.tmpl
- assertion_order.go
- assertions.go
- doc.go
- errors.go
- forward_assertions.go
- http_assertions.go
- doc.go
- forward_requirements.go
- require.go
- require.go.tmpl
- require_forward.go
- require_forward.go.tmpl
- requirements.go
- LICENSE
- .flake8
- .gitignore
- .golangci.yaml
- app.go
- args.go
- category.go
- cli.go
- CODE_OF_CONDUCT.md
- command.go
- context.go
- docs.go
- errors.go
- fish.go
- flag-spec.yaml
- flag.go
- flag_bool.go
- flag_duration.go
- flag_ext.go
- flag_float64.go
- flag_float64_slice.go
- flag_generic.go
- flag_int.go
- flag_int64.go
- flag_int64_slice.go
- flag_int_slice.go
- flag_path.go
- flag_string.go
- flag_string_slice.go
- flag_timestamp.go
- flag_uint.go
- flag_uint64.go
- flag_uint64_slice.go
- flag_uint_slice.go
- funcs.go
- godoc-current.txt
- help.go
- LICENSE
- Makefile
- mkdocs-reqs.txt
- mkdocs.yml
- parse.go
- README.md
- sliceflag.go
- sort.go
- suggestions.go
- template.go
- zz_generated.flags.go
- .travis.yml
- doc.go
- hamming.go
- jaro-winkler.go
- jaro.go
- LICENSE
- README.md
- soundex.go
- ukkonen.go
- wagner-fischer.go
- ripemd160.go
- ripemd160block.go
- LICENSE
- PATENTS
- .gitignore
- affinity_linux.go
- aliases.go
- asm_aix_ppc64.s
- asm_bsd_386.s
- asm_bsd_amd64.s
- asm_bsd_arm.s
- asm_bsd_arm64.s
- asm_bsd_ppc64.s
- asm_bsd_riscv64.s
- asm_linux_386.s
- asm_linux_amd64.s
- asm_linux_arm.s
- asm_linux_arm64.s
- asm_linux_loong64.s
- asm_linux_mips64x.s
- asm_linux_mipsx.s
- asm_linux_ppc64x.s
- asm_linux_riscv64.s
- asm_linux_s390x.s
- asm_openbsd_mips64.s
- asm_solaris_amd64.s
- asm_zos_s390x.s
- auxv.go
- auxv_unsupported.go
- bluetooth_linux.go
- bpxsvc_zos.go
- bpxsvc_zos.s
- cap_freebsd.go
- constants.go
- dev_aix_ppc.go
- dev_aix_ppc64.go
- dev_darwin.go
- dev_dragonfly.go
- dev_freebsd.go
- dev_linux.go
- dev_netbsd.go
- dev_openbsd.go
- dev_zos.go
- dirent.go
- endian_big.go
- endian_little.go
- env_unix.go
- fcntl.go
- fcntl_darwin.go
- fcntl_linux_32bit.go
- fdset.go
- gccgo.go
- gccgo_c.c
- gccgo_linux_amd64.go
- ifreq_linux.go
- ioctl_linux.go
- ioctl_signed.go
- ioctl_unsigned.go
- ioctl_zos.go
- mkall.sh
- mkerrors.sh
- mmap_nomremap.go
- mremap.go
- pagesize_unix.go
- pledge_openbsd.go
- ptrace_darwin.go
- ptrace_ios.go
- race.go
- race0.go
- readdirent_getdents.go
- readdirent_getdirentries.go
- README.md
- readv_unix.go
- sockcmsg_dragonfly.go
- sockcmsg_linux.go
- sockcmsg_unix.go
- sockcmsg_unix_other.go
- sockcmsg_zos.go
- symaddr_zos_s390x.s
- syscall.go
- syscall_aix.go
- syscall_aix_ppc.go
- syscall_aix_ppc64.go
- syscall_bsd.go
- syscall_darwin.go
- syscall_darwin_amd64.go
- syscall_darwin_arm64.go
- syscall_darwin_libSystem.go
- syscall_dragonfly.go
- syscall_dragonfly_amd64.go
- syscall_freebsd.go
- syscall_freebsd_386.go
- syscall_freebsd_amd64.go
- syscall_freebsd_arm.go
- syscall_freebsd_arm64.go
- syscall_freebsd_riscv64.go
- syscall_hurd.go
- syscall_hurd_386.go
- syscall_illumos.go
- syscall_linux.go
- syscall_linux_386.go
- syscall_linux_alarm.go
- syscall_linux_amd64.go
- syscall_linux_amd64_gc.go
- syscall_linux_arm.go
- syscall_linux_arm64.go
- syscall_linux_gc.go
- syscall_linux_gc_386.go
- syscall_linux_gc_arm.go
- syscall_linux_gccgo_386.go
- syscall_linux_gccgo_arm.go
- syscall_linux_loong64.go
- syscall_linux_mips64x.go
- syscall_linux_mipsx.go
- syscall_linux_ppc.go
- syscall_linux_ppc64x.go
- syscall_linux_riscv64.go
- syscall_linux_s390x.go
- syscall_linux_sparc64.go
- syscall_netbsd.go
- syscall_netbsd_386.go
- syscall_netbsd_amd64.go
- syscall_netbsd_arm.go
- syscall_netbsd_arm64.go
- syscall_openbsd.go
- syscall_openbsd_386.go
- syscall_openbsd_amd64.go
- syscall_openbsd_arm.go
- syscall_openbsd_arm64.go
- syscall_openbsd_libc.go
- syscall_openbsd_mips64.go
- syscall_openbsd_ppc64.go
- syscall_openbsd_riscv64.go
- syscall_solaris.go
- syscall_solaris_amd64.go
- syscall_unix.go
- syscall_unix_gc.go
- syscall_unix_gc_ppc64x.go
- syscall_zos_s390x.go
- sysvshm_linux.go
- sysvshm_unix.go
- sysvshm_unix_other.go
- timestruct.go
- unveil_openbsd.go
- vgetrandom_linux.go
- vgetrandom_unsupported.go
- xattr_bsd.go
- zerrors_aix_ppc.go
- zerrors_aix_ppc64.go
- zerrors_darwin_amd64.go
- zerrors_darwin_arm64.go
- zerrors_dragonfly_amd64.go
- zerrors_freebsd_386.go
- zerrors_freebsd_amd64.go
- zerrors_freebsd_arm.go
- zerrors_freebsd_arm64.go
- zerrors_freebsd_riscv64.go
- zerrors_linux.go
- zerrors_linux_386.go
- zerrors_linux_amd64.go
- zerrors_linux_arm.go
- zerrors_linux_arm64.go
- zerrors_linux_loong64.go
- zerrors_linux_mips.go
- zerrors_linux_mips64.go
- zerrors_linux_mips64le.go
- zerrors_linux_mipsle.go
- zerrors_linux_ppc.go
- zerrors_linux_ppc64.go
- zerrors_linux_ppc64le.go
- zerrors_linux_riscv64.go
- zerrors_linux_s390x.go
- zerrors_linux_sparc64.go
- zerrors_netbsd_386.go
- zerrors_netbsd_amd64.go
- zerrors_netbsd_arm.go
- zerrors_netbsd_arm64.go
- zerrors_openbsd_386.go
- zerrors_openbsd_amd64.go
- zerrors_openbsd_arm.go
- zerrors_openbsd_arm64.go
- zerrors_openbsd_mips64.go
- zerrors_openbsd_ppc64.go
- zerrors_openbsd_riscv64.go
- zerrors_solaris_amd64.go
- zerrors_zos_s390x.go
- zptrace_armnn_linux.go
- zptrace_linux_arm64.go
- zptrace_mipsnn_linux.go
- zptrace_mipsnnle_linux.go
- zptrace_x86_linux.go
- zsymaddr_zos_s390x.s
- zsyscall_aix_ppc.go
- zsyscall_aix_ppc64.go
- zsyscall_aix_ppc64_gc.go
- zsyscall_aix_ppc64_gccgo.go
- zsyscall_darwin_amd64.go
- zsyscall_darwin_amd64.s
- zsyscall_darwin_arm64.go
- zsyscall_darwin_arm64.s
- zsyscall_dragonfly_amd64.go
- zsyscall_freebsd_386.go
- zsyscall_freebsd_amd64.go
- zsyscall_freebsd_arm.go
- zsyscall_freebsd_arm64.go
- zsyscall_freebsd_riscv64.go
- zsyscall_illumos_amd64.go
- zsyscall_linux.go
- zsyscall_linux_386.go
- zsyscall_linux_amd64.go
- zsyscall_linux_arm.go
- zsyscall_linux_arm64.go
- zsyscall_linux_loong64.go
- zsyscall_linux_mips.go
- zsyscall_linux_mips64.go
- zsyscall_linux_mips64le.go
- zsyscall_linux_mipsle.go
- zsyscall_linux_ppc.go
- zsyscall_linux_ppc64.go
- zsyscall_linux_ppc64le.go
- zsyscall_linux_riscv64.go
- zsyscall_linux_s390x.go
- zsyscall_linux_sparc64.go
- zsyscall_netbsd_386.go
- zsyscall_netbsd_amd64.go
- zsyscall_netbsd_arm.go
- zsyscall_netbsd_arm64.go
- zsyscall_openbsd_386.go
- zsyscall_openbsd_386.s
- zsyscall_openbsd_amd64.go
- zsyscall_openbsd_amd64.s
- zsyscall_openbsd_arm.go
- zsyscall_openbsd_arm.s
- zsyscall_openbsd_arm64.go
- zsyscall_openbsd_arm64.s
- zsyscall_openbsd_mips64.go
- zsyscall_openbsd_mips64.s
- zsyscall_openbsd_ppc64.go
- zsyscall_openbsd_ppc64.s
- zsyscall_openbsd_riscv64.go
- zsyscall_openbsd_riscv64.s
- zsyscall_solaris_amd64.go
- zsyscall_zos_s390x.go
- zsysctl_openbsd_386.go
- zsysctl_openbsd_amd64.go
- zsysctl_openbsd_arm.go
- zsysctl_openbsd_arm64.go
- zsysctl_openbsd_mips64.go
- zsysctl_openbsd_ppc64.go
- zsysctl_openbsd_riscv64.go
- zsysnum_darwin_amd64.go
- zsysnum_darwin_arm64.go
- zsysnum_dragonfly_amd64.go
- zsysnum_freebsd_386.go
- zsysnum_freebsd_amd64.go
- zsysnum_freebsd_arm.go
- zsysnum_freebsd_arm64.go
- zsysnum_freebsd_riscv64.go
- zsysnum_linux_386.go
- zsysnum_linux_amd64.go
- zsysnum_linux_arm.go
- zsysnum_linux_arm64.go
- zsysnum_linux_loong64.go
- zsysnum_linux_mips.go
- zsysnum_linux_mips64.go
- zsysnum_linux_mips64le.go
- zsysnum_linux_mipsle.go
- zsysnum_linux_ppc.go
- zsysnum_linux_ppc64.go
- zsysnum_linux_ppc64le.go
- zsysnum_linux_riscv64.go
- zsysnum_linux_s390x.go
- zsysnum_linux_sparc64.go
- zsysnum_netbsd_386.go
- zsysnum_netbsd_amd64.go
- zsysnum_netbsd_arm.go
- zsysnum_netbsd_arm64.go
- zsysnum_openbsd_386.go
- zsysnum_openbsd_amd64.go
- zsysnum_openbsd_arm.go
- zsysnum_openbsd_arm64.go
- zsysnum_openbsd_mips64.go
- zsysnum_openbsd_ppc64.go
- zsysnum_openbsd_riscv64.go
- zsysnum_zos_s390x.go
- ztypes_aix_ppc.go
- ztypes_aix_ppc64.go
- ztypes_darwin_amd64.go
- ztypes_darwin_arm64.go
- ztypes_dragonfly_amd64.go
- ztypes_freebsd_386.go
- ztypes_freebsd_amd64.go
- ztypes_freebsd_arm.go
- ztypes_freebsd_arm64.go
- ztypes_freebsd_riscv64.go
- ztypes_linux.go
- ztypes_linux_386.go
- ztypes_linux_amd64.go
- ztypes_linux_arm.go
- ztypes_linux_arm64.go
- ztypes_linux_loong64.go
- ztypes_linux_mips.go
- ztypes_linux_mips64.go
- ztypes_linux_mips64le.go
- ztypes_linux_mipsle.go
- ztypes_linux_ppc.go
- ztypes_linux_ppc64.go
- ztypes_linux_ppc64le.go
- ztypes_linux_riscv64.go
- ztypes_linux_s390x.go
- ztypes_linux_sparc64.go
- ztypes_netbsd_386.go
- ztypes_netbsd_amd64.go
- ztypes_netbsd_arm.go
- ztypes_netbsd_arm64.go
- ztypes_openbsd_386.go
- ztypes_openbsd_amd64.go
- ztypes_openbsd_arm.go
- ztypes_openbsd_arm64.go
- ztypes_openbsd_mips64.go
- ztypes_openbsd_ppc64.go
- ztypes_openbsd_riscv64.go
- ztypes_solaris_amd64.go
- ztypes_zos_s390x.go
- aliases.go
- dll_windows.go
- env_windows.go
- eventlog.go
- exec_windows.go
- memory_windows.go
- mkerrors.bash
- mkknownfolderids.bash
- mksyscall.go
- race.go
- race0.go
- security_windows.go
- service.go
- setupapi_windows.go
- str.go
- syscall.go
- syscall_windows.go
- types_windows.go
- types_windows_386.go
- types_windows_amd64.go
- types_windows_arm.go
- types_windows_arm64.go
- zerrors_windows.go
- zknownfolderids_windows.go
- zsyscall_windows.go
- LICENSE
- PATENTS
- apic.go
- decode.go
- emitterc.go
- encode.go
- LICENSE
- NOTICE
- parserc.go
- readerc.go
- README.md
- resolve.go
- scannerc.go
- sorter.go
- writerc.go
- yaml.go
- yamlh.go
- yamlprivateh.go
- modules.txt
- xattr.go
- xattr_test.go
- xattr_unsupported.go
- xattr_unsupported_test.go
- .drone.yml
- .gitignore
- check.go
- check_test.go
- cksum.go
- cksum_test.go
- compare.go
- compare_test.go
- creator.go
- doc.go
- entry.go
- fseval.go
- fseval_test.go
- go.mod
- go.sum
- hierarchy.go
- hierarchy_test.go
- keywordfunc.go
- keywordfuncs_bsd.go
- keywordfuncs_linux.go
- keywordfuncs_unsupported.go
- keywords.go
- keywords_linux_test.go
- keywords_test.go
- lchtimes_unix.go
- lchtimes_unsupported.go
- LICENSE
- lookup.go
- Makefile
- mtree_test.go
- parse.go
- README.md
- releases.md
- stat_unix.go
- stat_windows.go
- tar.go
- tar_test.go
- update.go
- update_linux_test.go
- update_test.go
- updatefuncs.go
- updatefuncs_linux.go
- updatefuncs_unsupported.go
- walk.go
- walk_test.go
- xdev_unix.go
- xdev_windows.go
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cksum
View Details ▼
cksum
Calculate CRC checksums and byte counts of a file.
Note: On old UNIX systems the CRC implementation may differ.
cksum {{path/to/file}}
Display a 32-bit checksum, size in bytes and filename:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
go build
View Details ▼
go build
Compile Go sources.
go build {{path/to/main.go}}
Compile a 'package main' file (output will be the filename without extension):
go build -o {{path/to/binary}} {{path/to/source.go}}
Compile, specifying the output filename:
go build -o {{path/to/binary}} {{path/to/package}}
Compile a package:
go install
View Details ▼
go install
Compile and install packages named by the import paths.
go install
Compile and install the current package:
go install {{path/to/package}}
Compile and install a specific local package:
go install {{golang.org/x/tools/gopls}}@{{latest}}
Install the latest version of a program, ignoring `go.mod` in the current directory:
time
View Details ▼
time
Measure how long a command took to run.
Note: `time` can either exist as a shell builtin, a standalone program, or both.
See also: `times`.
time {{command}}
Run the `command` and print the time measurements to `stdout`:
time
Display the current system time and prompt to enter a new time (leave empty to keep unchanged):
time read
Create a very simple stopwatch (only works in Bash):
gmake
View Details ▼
gmake
This command is an alias of GNU `make`.
tldr make
View documentation for the original command:
md5
View Details ▼
md5
Calculate MD5 cryptographic checksums.
md5 {{path/to/file}}
Calculate the MD5 checksum for a file:
md5 {{path/to/file1 path/to/file2 ...}}
Calculate MD5 checksums for multiple files:
md5 -q {{path/to/file}}
Output only the MD5 checksum (no filename):
xattr
View Details ▼
xattr
Utility to work with extended filesystem attributes.
xattr -l {{file}}
List key:value extended attributes for a given file:
xattr -w {{attribute_key}} {{attribute_value}} {{file}}
Write an attribute for a given file:
xattr -d {{com.apple.quarantine}} {{file}}
Delete an attribute from a given file:
