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

Re: cd to folder with spaces - in a script



On Thu, May 21, 2009 at 8:51 PM, Tzafrir Cohen <tzafrir@cohens.org.il> wrote:
> On Thu, May 21, 2009 at 08:34:48PM +0200, Michael Casey wrote:
>> yeah, SOLVED: :))
>>
>> clear; find . -type d | while read FOLDERNAME; do $(cd "$FOLDERNAME"); done
>
> I'm not sure what it is exactly that you try to do, but:
>
>  $(cd "$FOLDERNAME")

Sure, better (cd "$FOLDERNAME")


Reply to: