[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to find dirs with single item



On Fri, May 30, 2014 at 3:38 PM, Marko Randjelovic <markoran@eunet.rs> wrote:
> On Thu, 29 May 2014 22:43:29 +0100
> Clive Standbridge <list-user@tgstandbridges.plus.com> wrote:
>
>> find temp |sed 's|[^/]*$||' |sort |uniq -u
>
> This doesn't work on this directory.
>

Can you try the Python script on that, please? File system encodings
can be a bit of a pain at times. If it doesn't work as "python", try
"python3", as the two are a bit different as regards Unicode.

ChrisA


Reply to: