I am looking for some bash scripts:
1. I want to list all text files of one directory with a blank line in
between.
Currently I just use grep "" *
2. I want to delete files older than x (e.g., 3 minutes, 3 hours, 3
days, ...)
bye
Ronald
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Dne Monday 05 November 2007 08:03:18 Ronald Wiplinger napsal(a):
> I am looking for some bash scripts:
>
> 1. I want to list all text files of one directory with a blank line in
> between.
> Currently I just use grep "" *
Text files? You mean file.txt, or file with text mime type?
100+1 how to do
On Mon November 5 2007 00:03, Ronald Wiplinger wrote:
> I am looking for some bash scripts:
>
> 1. I want to list all text files of one directory with a blank line
> in between.
> Currently I just use grep "" *
You are listing the content of the files with this command and I don't
get a blank li
Mon, 05 Nov 2007, by [EMAIL PROTECTED]:
> I am looking for some bash scripts:
>
> 1. I want to list all text files of one directory with a blank line in
> between.
> Currently I just use grep "" *
for i in $(find ./ -maxdepth 1 -type f);do
file $i| grep ASCII
test $? -eq 0 && echo
done
>
Pavel Nemec wrote:
Dne Monday 05 November 2007 08:03:18 Ronald Wiplinger napsal(a):
I am looking for some bash scripts:
1. I want to list all text files of one directory with a blank line in
between.
Currently I just use grep "" *
Text files? You mean file.txt, or file with text mime type?
10