Skip to content

A Linux/POSIX file search tool with detailed metadata output (size, permissions, timestamps)

Notifications You must be signed in to change notification settings

TheDhm/C-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-search

A Linux/POSIX file search tool with detailed metadata output (size, permissions, timestamps)

Requirements

Linux/POSIX system (not compatible with Windows)

Build

Build the project using make:

make clean && make

This produces the search binary in the project root.

Install (optional)

Run activate.sh to add the command to your system.

How to use it :

search [Directory_Name] [-options] 'File_Name'

filename should preferably be between ' ' or " " especially when using * and ?

[-options]:
  -0: search in directory "directory name" only
  -1: traverse only one level of the tree
  -l N: traverse N levels of the tree
    no levels -> search in all levels

  -d: display the creation date and the date of the last use (consultation or modification) of the file
  -m: display the date of the last modification of the file
  -s: show file size
  -t: show file type
  -p: show file protection
  -a : display all characteristics (d,s,t,p)
  -h: display this manual

About

A Linux/POSIX file search tool with detailed metadata output (size, permissions, timestamps)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published