[CentOS] Fixing filenames with directories with spaces in the names
Eduardo Grosclaude
eduardo.grosclaude at gmail.comTue Dec 28 11:01:28 UTC 2010
- Previous message: [CentOS] Fixing filenames with directories with spaces in the names
- Next message: [CentOS] Fixing filenames with directories with spaces in the names
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Dec 28, 2010 at 2:03 AM, Craig White <craigwhite at azapple.com> wrote: > Should be simple and perhaps I'm tired but it's not coming to me. > > In its simplest form... > > for old in `cat "$FILENAME"`;do > echo "$old" > dirname "$old" > new="$(echo $old | sed 's/\*/\-/')" > done Should be new=$(echo "$old" | sed 's/\*/\-/') -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina
- Previous message: [CentOS] Fixing filenames with directories with spaces in the names
- Next message: [CentOS] Fixing filenames with directories with spaces in the names
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list