[EdLUG] renaming of illegal filenames

Tai Kedzierski dch.tai at gmail.com
Wed May 20 11:30:26 UTC 2015


When they send you such files, just tell them the files are broken and get
them to send again (whilst you secretly get the work done early). They'll
eventually learn and you'll have gained some breathing time :-p



===
Tai Kedzierski

IT Services Specialist
http://helpuse.com
+44 (0) 7526 963 612 (portable GB)

  I use www.libreoffice.org

*"Open Source Free Software is a matter of liberty, not price."*
https://bitly.com/1gXkUcc


On 20 May 2015 at 12:24, Joe Barnett <joe-barnett at blueyonder.co.uk> wrote:

> Thanks guys!
>
> I knew there must be a simple answer.  Now to try to get people to stop
> naming files like that....
>
> Joe.
>
> On 20 May 2015 at 11:02, Stephen C. Tweedie <sct at redhat.com> wrote:
>
>> Hi,
>>
>> On Wed, 2015-05-20 at 10:58 +0100, Joe Barnett wrote:
>>
>> > I've drawn a blank here,  I have a few files which I want to move but
>> > mv does not like them and rename will not touch them.  I cannot even
>> > directly ls them.
>>
>> "--" separates options from arguments for most of coreutils.  So any
>> arguments beginning in a "-" will be correctly processed if you precede
>> them with the "--".
>>
>> So "mv -- * [dest]" should work fine for these files.
>>
>> --Stephen
>>
>>
>>
>>
>> _______________________________________________
>> EdLUG mailing list
>> EdLUG at lists.edlug.org.uk
>> https://lists.edlug.org.uk/mailman/listinfo/edlug
>>
>
>
> _______________________________________________
> EdLUG mailing list
> EdLUG at lists.edlug.org.uk
> https://lists.edlug.org.uk/mailman/listinfo/edlug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.edlug.org.uk/pipermail/edlug/attachments/20150520/7f84b948/attachment.html>


More information about the EdLUG mailing list