On Fri, Mar 1, 2013 at 2:48 PM, LuKreme <[email protected]> wrote:
>
> mv "This is a File!" "20130301 - This is a File!"
>
> Which fails if I try to execute it because of the !.
>
> I have to go back and convert it to something like:
>
> mv "This is a File!" 20130301\ -\ This\ is\ a\ File\!
>
> which works.
>
> Anyone have an idea for a shortcut instead of manually catching these and
> fixing them manually?
Use single quotes instead of double quotes
mv 'This is a File!' '20130301 - This is a File!'
that prevents the shell from grabbing the '!'
However, if your filenames have ' in them, then you might run into problems.
TjL
--
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.