mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-20 01:00:08 -07:00
10 lines
239 B
Bash
Executable File
10 lines
239 B
Bash
Executable File
#!/bin/sh
|
|
for dir in $(ls); do {
|
|
if [ -d $dir ]; then
|
|
rm "$dir/content.txt"
|
|
for file in $(ls $dir); do {
|
|
printf 'helps/%s/%s\t%s\n' $dir $file ${file%--} >> "$dir/content.txt"
|
|
}; done
|
|
fi
|
|
}; done
|