Why not have mkdir add the attribute? Seems like a more consistent approach. david ----- Original Message ----- From: "unlyrn" <unlyrn@xxxxxxxxxxxxxxx> To: <openbeos@xxxxxxxxxxxxx>; <glasselevator@xxxxxxxxxxxx> Sent: Thursday, May 09, 2002 8:47 AM Subject: [openbeos] Re: cp -p > > No, I think that was a mistake and cp -p should work as expected. > > There > > should be no difference between command line and gui tools... > > > > david > > > > On a related note, folders created in Tracker have a BEOS:TYPE > attribute > which is set to application/x-vnd.Be-directory - folders created via > the > command line do not. This makes searching for folders using queries > really > ineffective. > > Rather than mkdir adding the attribute, perhaps we could have a set of > pseudo-attributes (like name) based on the stat information of a file? > > This would enable you to search for directories and symlinks > specifically, > not to mention the other flags... > > Well, just a thought... > > David Shipman > >