[Gllug] Directory listings

Russell Mackenzie russmack at btinternet.com
Thu May 2 17:49:02 UTC 2002


find /dir -maxdepth 1 > dirlist


-Russ.

On Thu, 2002-05-02 at 18:18, Martin Stevens wrote:
> 
> Hi,
> 
> I'm trying to get a list of the contents of a directory including the full path
> and output it to a file.
> 
> Any tips ?
> 
> 'ls > dirlist' only gives the filenames and there doesn't seem to be a switch
> to show the path.
> 
> TIA
> 
> Budge
> -- 
> Budgester Technologies Ltd
> Office : 01992 718568
> Mobile : 07815 982380
> mailto:martin at budgester.com
> http://www.budgester.com
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list