Re: [CentOS] cd to folder with spaces - in a script

2009-05-24 Thread Michael Casey
I used it for this: http://pastebin.ca/1432758 generating m3u files for each subfolder too ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] cd to folder with spaces - in a script

2009-05-21 Thread Michael Casey
yeah, SOLVED: :)) clear; find . -type d | while read FOLDERNAME; do $(cd "$FOLDERNAME"); done Thank you!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] cd to folder with spaces - in a script

2009-05-21 Thread Rob Hutten
> How can I cd into a dir, when it contains spaces, and I need to use it in a script? Quote it: cd "/home/user/this is a folder/whatever" -Rob ** This communication contains information which is confidential and may also be le

Re: [CentOS] cd to folder with spaces - in a script

2009-05-21 Thread Marcelo Roccasalva
On Thu, May 21, 2009 at 2:40 PM, Michael Casey wrote: > How can I cd into a dir, when it contains spaces, and I need to use it in a > script? > > the directory: > /home/user/this is a folder/something > > normally I would use: > cd /home/user/this\ is\ a\ folder/something/ > > but in a script I ca