A local friend found the problem. Here is the complete working command line:
date +'%b %_d'>file.txt
(no double-quotes needed; grep takes content as literal
ls -laR /home/higginbo | grep -f file.txt | mail higginbo
If I had run grep in verbose mode, I would know that it was actually
searching f
>Are general linux questions off-topic here? I'm trying to automate some
>tasks, one of which is detailed below:
Many people around here (myself included) enjoy solving these sorts of
problems.
>With the following commands in a shell script, I want to search for files
>that have been modified on
At 06:48 AM 4/9/98 -0400, you wrote:
>ls -alR /home/higginbo | grep "`date '+%b %_d'`" | mail higginbo
> ^^^
>This eliminates the need for a temporary file.
Ah, yes, someone told me about this too, but I plan on modifying this basic
script to h
>>ls -alR /home/higginbo | grep "`date '+%b %_d'`" | mail higginbo
>> ^^^
>>This eliminates the need for a temporary file.
>
>Ah, yes, someone told me about this too, but I plan on modifying this basic
>script to handle other operations as well.
On Thu, 9 Apr 1998, John Higginbotham wrote:
>A local friend found the problem. Here is the complete working command
>line:
>
>date +'%b %_d'>file.txt
>(no double-quotes needed; grep takes content as literal
>
>ls -laR /home/higginbo | grep -f file.txt | mail higginbo
Or:
ls -alR /home/higgi