Question
Write pseudo code for the problem below. Your program must be capable of accepting, from the command line, the target directory to be processed. If
Write pseudo code for the problem below.
Your program must be capable of accepting, from the command line, the target directory to be processed. If there's no directory specified on the command line, your code should assume that the target directory is the one the user's process is currently running from. (HINT: ./ ) You code should then use opendir(), readdir() and stat() to select out the specific files matching the above criteria. Once you have found the 4 targets, then you should list out the files in "long format" similar to what you would see if you did an "ls -l" for the specific file. Your code should also identify which criteria is being met for each output.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started