Skip to content
/ fs Public

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

Notifications You must be signed in to change notification settings

pmann84/fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 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: lspp arguments [--help] [path [PATH ...]]

Positional Arguments:
path: Path(s) to list.

Optional Arguments:
-h, --help: Show this help message and exit.

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

Binaries

Continuous Build Release Build

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published