[xubuntu-users] Why can't I copy tese files?

Ralf ranfyy ranfyy at gmail.com
Sat Mar 2 06:45:51 UTC 2013


Hi

2013/3/1 Marc Coevoet <marcc at dommel.be>

> Hello,
>
> I have a more general question, not ubuntu based, more shell/cmd:
>
> I want to copy my disc, but these files pos a problem:
>
> marc at sony:~$  ls openlayers/dev.openlayers.org/**
> releases/OpenLayers-1.0/tests/<http://dev.openlayers.org/releases/OpenLayers-1.0/tests/>
> README.txt                    test_Icon.html
> data_Layer_Text_textfile.txt  test_Layer.html
> index.html                    test_Layer_Markers.html
> index.html?C=D;O=A            test_Layer_Text.html
> index.html?C=M;O=A            test_Layer_WMS.html
> index.html?C=N;O=D            test_LonLat.html
> index.html?C=S;O=A            test_Map.html
> list-tests.html               test_Marker.html
> run-tests.html                test_Pixel.html
> test_Bounds.html              test_Popup.html
> test_Control.html             test_Size.html
> test_Control_PanZoom.html     test_Tile.html
> test_Control_PanZoomBar.html  test_Tile_Image.html
> test_Events.html              test_Util.html
> test_Feature.html             throws.js
>
>
> The files index.html?...;...  pose a problem.  Why?
>

The question mark and the semicolon have special meaning for bash.


>
> Of course, a cp  should copy ...
>

How do you call it exactly?


> I get these errors:
> cp: cannot create regular file `/media/marc/maxtor/marc2013/**openlayers/
> dev.openlayers.org/**releases/OpenLayers-1.0/doc/**index.html?C=D;O=A<http://dev.openlayers.org/releases/OpenLayers-1.0/doc/index.html?C=D;O=A>':
> Invalid argument
> cp: cannot create regular file `/media/marc/maxtor/marc2013/**openlayers/
> dev.openlayers.org/**releases/OpenLayers-1.0/doc/**index.html?C=N;O=D<http://dev.openlayers.org/releases/OpenLayers-1.0/doc/index.html?C=N;O=D>':
> Invalid argument
> cp: cannot create regular file `/media/marc/maxtor/marc2013/**openlayers/
> dev.openlayers.org/**releases/OpenLayers-1.0/doc/**index.html?C=M;O=A<http://dev.openlayers.org/releases/OpenLayers-1.0/doc/index.html?C=M;O=A>':
> Invalid argument
> cp: cannot create regular file `/media/marc/maxtor/marc2013/**openlayers/
> dev.openlayers.org/**releases/OpenLayers-1.0/doc/**index.html?C=S;O=A<http://dev.openlayers.org/releases/OpenLayers-1.0/doc/index.html?C=S;O=A>':
> Invalid argument
>

When I see the left part of the path it looks like some USB drive?
Maybe the underlying file system (FAT32 maybe?) has a problem with these
special characters.


> Did some "free/commercial" developer screw up the cp command?
>
> Marc
>

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20130302/f8d659ff/attachment.html>


More information about the xubuntu-users mailing list