[ale] mv a file that starts with - ?
Greg Freemyer
greg.freemyer at gmail.com
Tue Jan 26 17:06:31 EST 2010
Thanks,
Everyone but me remembered -- to terminate the options list.
Greg
On Tue, Jan 26, 2010 at 4:44 PM, Jim Lynch
<ale_nospam at fayettedigital.com> wrote:
> Greg Freemyer 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
>>
>>
> A couple of possibilities come to mind. Try referring to the file as
> ./-xyz. Also some commands will stop processing at a double dash, e.
> g. rm -rf -- -dumbfilename
>
> Jim.
>
> _______________________________________________
> 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
>
--
Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
Preservation and Forensic processing of Exchange Repositories White Paper -
<http://www.norcrossgroup.com/forms/whitepapers/tng_whitepaper_fpe.html>
The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
More information about the Ale
mailing list