help me with this


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers help me with this
# 1  
Old 06-06-2012
help me with this

how do i write a shell script to find all files that are not empty from a directory stucture. the script should be called nef when the script executes it should run a verbose fashion and list non emty file before asking the user to confirm that the file is to be copied to a directory call non empty. the program will take a 0 or 1 parameter
# 2  
Old 06-06-2012
Ahh come on, do some work here...
Code:
man find
man test (search for -s)
man read

If you continue to have difficulties, come back with the script that isn't working.
# 3  
Old 06-06-2012
Seems like homework. If so, please use Homework & Coursework Questions - The UNIX and Linux Forums
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question