mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Linux (https://www.mersenneforum.org/forumdisplay.php?f=39)
-   -   copying files on ubuntu (https://www.mersenneforum.org/showthread.php?t=20688)

wildrabbitt 2015-11-22 16:39

copying files on ubuntu
 
Hi,

I'm trying to copy the mprime files into a flash stick so I can run from the stick.

When I type
root@william-GA-78LMT-USB3:/home/william/Downloads/p95v287.linux64# cp mprime /media/38b3e3a6-e319-4e3a-8bed-dcd7c224057a\$/mprime_folder

I get

cp: accessing `/media/38b3e3a6-e319-4e3a-8bed-dcd7c224057a\$/mprime_folder': Not a directory

I'm using ubuntu.

I created the mprime_folder folder on the stick using mkdir.

Can anyone help?

paulunderwood 2015-11-22 17:06

I suspect the path you specified is not right. Use "cp mprime /media" but do not press "enter" and hit "tab" a couple of times to get a listing. Enter the first few characters of the the next directory and hit "tab" again. Etc. :smile:

@mods: please move to the Linux subforum

Batalov 2015-11-22 21:10

The '$' sign might be the culprit. It is best to avoid such symbols in folder or file names (as well as spaces, exclamation points, '*', etc); you still can use such folders and files but you may be hit with similar snafus every once in a while.

The special characters need 'protection': Try embedding each argument in ' quotes. And/or add \ before $, too. Another trick can be to cut the folder name shorter and replace the rest with *; the OS will run on-the-fly expansion for you...
One or another might help.

chalsall 2015-11-22 21:24

[QUOTE=Batalov;416897]And/or add \ before $, too. Another trick can be to cut the folder name shorter and replace the rest with *; the OS will run on-the-fly expansion for you...[/QUOTE]

The other day I was interacting with a very serious technology companies' "front line" person.

She gave the URL verbally as "H T T P Colon Back Slash Back Slash"...

Just what (TFF) is it going to take to educate the populous of the difference between forward and back slashes?

wildrabbitt 2015-11-22 22:12

Thanks for the replies.

I've got all the mprime files on the stick now and have tried it with my submersive cooling machine. There;s one
stick which has tinycore on it and this one with the mprime files on.

I try running mprime when I mount the stick and I get this

./mprime: line 1:syntax error: unexpected word (expecting ")").


The version of mprime I have is the 64bit linux tar,gx version currently on the gimps site.

The processor this machine has is an AMD 64 Dual Core 3800+

Any ideas why I can't run mprime?

chalsall 2015-11-22 22:37

[QUOTE=wildrabbitt;416901]Any ideas why I can't run mprime?[/QUOTE]

When you run "./mprime -h" what happens?

bgbeuning 2015-11-22 22:41

Try "file mprime" to see if it thinks mprime is an executable.

wildrabbitt 2015-11-22 22:47

When I run ./mprime -h I get the same error as before.

When I run file mprime

I get

sh: file: not found

chalsall 2015-11-22 22:52

[QUOTE=wildrabbitt;416906]When I run ./mprime -h I get the same error as before.

When I run file mprime

I get

sh: file: not found[/QUOTE]

Then either you are not in the correct directory, or your system is inappropriate.

Or both.

paulunderwood 2015-11-23 00:00

If TinyCore is 32-bit then you need a 32-bit mprime. :smile:

64-bit TinyCore [URL="http://distro.ibiblio.org/tinycorelinux/6.x/x86_64/release/"]here[/URL]

LaurV 2015-11-23 04:49

[QUOTE=Batalov;416897]The '$' sign might be the culprit. [/QUOTE]
[url]https://xkcd.com/327/[/url]


All times are UTC. The time now is 08:23.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.