.\" Automatically generated by Pandoc 2.7.3 .\" .TH "sn (1)" "" "" "" "" .hy .SH NAME .PP sn - check file size and view or clean artifacts .SH SYNOPSIS .PP sn [OPTION]\&... [DIRECTORY]\&... [OPTION]\&... .SH DESCRIPTION .PP \f[B]sn\f[R] is a command-line tool to sniff out build artifacts. It can also optionally clean them. .SH OPTIONS .TP .B \f[B]-h\f[R], \f[B]--help\f[R] Display help .TP .B \f[B]-v\f[R], \f[B]--version\f[R] Display version information .TP .B \f[B]-a\f[R], \f[B]--all\f[R] Display all directory entries .TP .B \f[B]-f\f[R], \f[B]--files\f[R] Display files in addition to directories .TP .B \f[B]-o\f[R], \f[B]--sort\f[R] Sort results by size .TP .B \f[B]-j\f[R], \f[B]--threads\f[R] Set number of threads to be used .TP .B \f[B]-d\f[R], \f[B]--depth\f[R] Set maximum depth for which to print results (default 2) .TP .B \f[B]-e\f[R], \f[B]--exclude\f[R] Regular expression defining files or directories to exclude .TP .B \f[B]-t\f[R], \f[B]--threshold\f[R] Set a minimum file size for entries to be reported .SH SUBCOMMANDS .TP .B \f[B]artifacts\f[R], \f[B]ar\f[R], \f[B]r\f[R] Print out file sizes of build artifacts .TP .B \f[B]clean\f[R], \f[B]c\f[R] Clean build artifacts .TP .B \f[B]files\f[R], \f[B]l\f[R] Show all file sizes, not just directory sizes .TP .B \f[B]directories\f[R], \f[B]d\f[R], \f[B]dir\f[R] Show only directory sizes .TP .B \f[B]fat\f[R], \f[B]f\f[R] Show only large directories .TP .B \f[B]parallel\f[R], \f[B]p\f[R] Same as \f[B]directories\f[R], but in parallel. .TP .B \f[B]sort\f[R], \f[B]o\f[R] Sort results by size .TP .B \f[B]update\f[R], \f[B]u\f[R] Update to latest release .TP .B \f[B]help\f[R] Display help .SH EXAMPLES .IP .nf \f[C] sn p \[ti] \f[R] .fi .IP .nf \f[C] sn c \f[R] .fi .IP .nf \f[C] sn d . \f[R] .fi .IP .nf \f[C] sn ar \[ti]/work -e forks \f[R] .fi .SH AUTHORS Vanessa McHale.