[Technic] linux help
Scott Mayo
sgmayo at mail.bloomfield.k12.mo.us
Thu Jul 12 10:12:20 CDT 2007
Scott Mayo wrote:
> Ricky Nance wrote:
>
>>The way I ran it here at home was rm `ls | grep -v save` -fdr and it worked...
>>the ls * shows the files under save1, save2, etc.
>>
>
>
> When I did an 'ls | grep -v keep', then it did not list the actually
> directory, but it did list the files in it. Since it listed the files,
> I figured that the above command would have kept the save directory, but
> would have deleted the files. I'll try it since you said it worked.
>
Ok, it worked here also. I guess that I should not assume when I see
certain things, but just try it. :)
--
Scott Mayo
System Administrator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549
Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
More information about the Technic
mailing list
|