I know that mass file renaming can be done with sed and awk, but I have no
clue what the syntax is for it.  Help anybody???

On Sat, Feb 20, 2010 at 11:16 AM, Robert Citek <[email protected]>wrote:

> On Sat, Feb 20, 2010 at 8:59 AM, Dos-Man 64 <[email protected]> wrote:
> > Thanks, I thought I read somewhere that either Unix or Linux files
> > can't have spaces in the names, but it's one of those things where you
> > can't remember what you read or where you read it.
>
> Files definitely can have spaces and other characters:
>
> $ touch foo bar foo\ bar foo$'\n'bar foo$'\t'bar \
> foo$'\b'bar f...@bar foo:bar foo*bar
>
> $ ls -1 --show-control-chars
> bar
> foo
> foo bar
> foo:bar
> f...@bar
> foo*bar
> fobar
> foo     bar
> foo
> bar
>
> $ ls -1b
> bar
> foo
> foo\ bar
> foo:bar
> f...@bar
> foo*bar
> foo\bbar
> foo\tbar
> foo\nbar
>
> A common topic on linux forums tends to be how to delete or rename
> files with these special characters.
>
> Regards,
> - Robert
>
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
>



-- 
<><  Scott Vargovich  <><
------------------------------------------
OpenPGP Key ID: F8F5DC7E
------------------------------------------

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup

Reply via email to