~johanvandegriff/unix-shell-programming-revised-edition-programs

unix-shell-programming-revised-edition-programs/get_all_files -rw-r--r-- 205 bytes
fc214385Johan Vandegriff added other old scripts, some newer ones too 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

root="$1"

date > $root/all_files.txt

echo "------------------------------------------------------" >> $root/all_files.txt

cd /

find 2>> $root/errors.txt | sed 's/.//' >> $root/all_files.txt