Skip to content

for a command line utility flatten path that operates on the directory hierarchy rooted at path

Notifications You must be signed in to change notification settings

naoyamakino/flatten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

cmpt-300
Assignment 4
November 19th, 2009
Naoya Makino
[email protected]
301117541

File descriptions:
main.c: filecount shall recursively gather frequency statistics 
 	of all regular files (i.e., no directories) in
        the directory tree rooted at startdir.
flatten.c: for a command line utility flatten path 
	that operates on the directory hierarchy rooted at path.
dirwalk.h: go throw each file in a given directory and pass back a path to the called function
	this function is used in main.c and flatten.c
file_info.h: stores all the neccesary information needed for displaying a histogram
filecount: executable file
flatten: executable file
questions.odt: answering follow-up questions

How to run the program:
1. filecount:
run ./filecount [startdir]
If startdir is specified, then the count shall begin in that directory, should it exist; if not specified,
then the current working directory will be used.

2. flatten:
run ./flatten path that operates on the directory hierarchy rooted at path. 

About

for a command line utility flatten path that operates on the directory hierarchy rooted at path

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published