Skip to content

pmann84/fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fs (filesystem)

Overview

This is a clone of the ls tool in Linux, written in C++. There is no reason to use this, it's a simple project to serve as an example of using the C++ std::filesystem library and use of GitHub Actions.

Usage

Usage: fs arguments [--help] [--filter [FILTER ...]] [path [PATH ...]] Positional Arguments: path: Path(s) to list. Optional Arguments: -h, --help: Show this help message and exit. -f, --filter: Filter the output based on a string pattern. 

Example output:

Total Files: 10 (4 files, 6 dirs) Permissions Last Write Size Name ___________ ________________ ____ ____ drwxrwxrwx 2024-02-20 09:22 0 .git drwxrwxrwx 2024-02-20 09:22 0 .github -rwxrwxrwx 2024-02-20 09:22 24 .gitignore -rwxrwxrwx 2024-02-20 09:22 92 .gitmodules drwxrwxrwx 2024-02-20 09:28 0 .idea drwxrwxrwx 2024-02-20 09:25 0 cmake-build-debug -rwxrwxrwx 2024-02-20 09:22 396 CMakeLists.txt drwxrwxrwx 2024-02-20 09:22 0 fs -rwxrwxrwx 2024-02-20 09:22 781 readme.md drwxrwxrwx 2024-02-20 09:22 0 vendor 

Common Examples

  • fs - Lists current directory
  • fs .. - Lists specified directory
  • fs .. . - Lists all specified directories
  • fs --filter cmake - Lists current directory filtering for 'cmake'

Binaries

Continuous Build Release Build

Development

Submodules

You can update the submodules with the following command:

git submodule update --recursive --remote 

About

A custom clone of the ls linux utility written in C++ using std::filesystem

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors