LinuxCommandLibrary

yek

Has no standard use

TLDR

Serialize the current directory and write the output to a temp file (prints path)

$ yek
copy

Serialize specific directories and write output to a directory
$ yek [path/to/directory1 path/to/directory2 ...] --output-dir [path/to/output_directory]
copy

Process multiple files or use glob patterns (quote globs to avoid shell expansion)
$ yek "[path/to/directory/**/*.rs]" "[path/to/directory/**/*.md]"
copy

Cap the token-based output size to 128k tokens
$ yek [path/to/directory] --tokens 128k
copy

Cap the byte-based max output size and set an explicit output file name
$ yek [path/to/directory] --max-size [100KB] --output-name [yek-output.txt]
copy

Stream JSON output
$ yek [path/to/directory] --json
copy

Include a directory tree header in the output
$ yek [path/to/directory] --tree-header
copy

SYNOPSIS

As 'yek' is not a standard command, a formal synopsis does not exist.
Possible execution attempt:
yek [options] [arguments]

DESCRIPTION

The 'yek' command is not a standard or commonly recognized utility across major Linux distributions. It does not appear in official manual pages, core utility lists, or common command repositories. Therefore, it has no defined functionality, options, or typical usage patterns. If you encountered 'yek', it might refer to a custom script, an alias defined in a user's shell configuration, a typo for another command, or a highly specialized and undocumented program specific to a particular system or environment. Users attempting to execute 'yek' on a standard Linux system will typically receive a 'command not found' error.

CAVEATS

Executing 'yek' on most Linux systems will result in a 'command not found' error.
Users should verify if 'yek' is a custom script or an alias defined in their shell environment (e.g., in .bashrc, .zshrc, or system-wide scripts in /usr/local/bin). If it's expected to exist, ensure the relevant PATH is correctly configured or the script is installed.

VERIFYING CUSTOM COMMANDS

If you believe 'yek' should exist, you can check your system for custom scripts or aliases.
Use type yek or which yek to see if it's an alias, function, or executable in your PATH.
You can also search for files named 'yek' in common script directories like /usr/local/bin or your personal bin directory.

HISTORY

There is no documented history for a standard 'yek' command within the Linux ecosystem, as it is not a recognized part of core utilities or a widely adopted third-party tool. Its appearance would likely be incidental or highly localized.

Copied to clipboard