[ale] mv a file that starts with - ?

scott boss scott at sboss.net
Tue Jan 26 16:36:22 EST 2010


mv -- filename1 filename2

The doulbe - tellsv that all other options after it aren't options but
arguements.

Sent from my mobile...

On Jan 26, 2010, at 16:16, Greg Freemyer <greg.freemyer at gmail.com>
wrote:

> All,
>
> I have a bunch of files/directories that I encrypt via encfs.
>
> I want to mv the encrypted files from one location to another.
>
> Not too hard, except one of the files starts with - and mv is taking
> it as an invalid argument.
>
> I've forgotten if there is a workaround for this or not.
>
> Thanks
> Greg
>
> --
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


More information about the Ale mailing list