FT_LS is a recreation of the unix function, ls.
Mandatory: 100/100
Bonus: 14/25
Peers: 114% (avg)
Total: 114/125
To get started, clone the FT_LS repo and go into the folder:
git clone https://github.com/MikeFMeyer/ft_ls
cd ft_ls/
make
./ft_ls [-AGRaflnprt1] [file ...]
-A
- Shows all files (including hidden files), but doesn't show the "." and ".." directories. (Bonus)
-G
- Shows normal files, but adds colour. (Bonus)
-R
- Shows all files recursively.
-a
- Shows all files including "." and "..".
-f
- Shows normal files, unsorted. (Bonus)
-l
- Shows files in long format.
-n
- Shows UID and GID in long format as a number. (Bonus)
-p
- Adds a '/' to the back of directory names. (Bonus)
-r
- Reverses the output.
-t
- Sorts files according to time.
Frederick - Mallocing and freeing.
Zia - Bonuses and long formatting.
Nolin - Sorting and error checks.