[ale] mv a file that starts with - ?

James Sumners james.sumners at gmail.com
Tue Jan 26 16:33:17 EST 2010


`mv -- -file /location/sane.file.name`

On Tue, Jan 26, 2010 at 4:16 PM, 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


-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59


More information about the Ale mailing list