[Lazarus] target filename extension

Graeme Geldenhuys graemeg.lists at gmail.com
Wed May 21 14:24:18 CEST 2008


Mattias Gaertner wrote:
>> I'm getting annoyed not being able to easily search and delete any 
>> executables in my Linux programming folders.
> 
> Here is a one liner:
> find my-Linux-programming-folder -name '' -type f -perm /111 -regex
> '[^.]+' -exec rm {} \;

I tried the following, and it didn't delete any of my executables. With 
or without file extensions.

find UnitTests -name '' -type f -perm /111 -regex '[^.]+' -exec rm {} \;

'UnitTests' is the folder I'm interested in and it contains sub folders 
with sub projects.

I'm running Linux (Ubuntu 7.10).

Regards,
   - Graeme -


_______________________________________________________
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/





More information about the Lazarus mailing list