We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

How to move files to sdcard

asked 2016-10-25 10:54:01 +0300

jpek-m gravatar image

updated 2016-10-27 17:44:01 +0300

Which are the easiest ways to transfer files to SD card?

This is needed for installing Fiskarsinjoki OS. Please give concrete step by step orders :-)

EDIT. I had problems with accessing SD card directly, copy/paste did not work in File Manager. Even scp from my computer failed for some reason. (By the way, my SD card is actually /media/sdcard/9016-4EF8, /sdcard points to a wrong place!)

The first answer from @Sthocs gives an easy method, with backup as a bonus feature. But it didn't work with Mac, I could not connect directly to sdcard. It is said below in comments that there may be problems with Mac XNJB drivers.

edit retag flag offensive close delete

Comments

1

Copy paste with a File Browser app.

ApB ( 2016-10-25 11:13:03 +0300 )edit

Yes. But the File browser can copy only files, not all in a directory

jpek-m ( 2016-10-25 13:10:54 +0300 )edit

I just copied my Documents folder (long press > copy) on the SDcard (paste from pulley) with no problem.

No idea what you are trying to do.

ApB ( 2016-10-25 13:18:25 +0300 )edit
1

@ApB he wants to copy files from a directory into another directory. In your test, you have copied the directory too. And if this directory already exists, it won't be merged, the copy will simply fail.

Sthocs ( 2016-10-25 13:37:47 +0300 )edit

I got an error message "Unknown error /home/nemo/Pictures/Camera" when tried to from that to /sdcard/Pictures

jpek-m ( 2016-10-25 13:40:15 +0300 )edit

7 Answers

Sort by » oldest newest most voted
0

answered 2016-10-25 17:40:15 +0300

cemoi71 gravatar image

you may use the android app Airdroid (https://www.airdroid.com) is available on aptoide.

The Alternative software for it as native app, is Sailserver on Jolla store, but it is really minimalist, and the dev seems to be not active any more..

edit flag offensive delete publish link more
1

answered 2016-10-25 15:32:34 +0300

jpek-m gravatar image

updated 2016-10-25 15:35:34 +0300

The idea of @Sthocs using MacOS should work like this:

  1. Connect Jolla to WLAN Go to Settings > Developement tools
  2. Enable remote connection with SSH
  3. Create remote password

  4. Connect to the ip address seen above using for example Cyberduck program (sftp://nemo@<ip>/home/nemo)</ip>

  5. Download the directory Camera by dragging it to your desktop

  6. Upload your desktop Camera by dragging it to /media/sdcard/9016-4EF8/Pictures

For some reason my /sdcard --> /home/nemo/android_storage, not to SD card?!

edit flag offensive delete publish link more

Comments

do you means that the reverse way is not possible?

cemoi71 ( 2016-10-25 15:44:30 +0300 )edit

maybe that is a problem from right. and you should use devel-su (with care) before.

cemoi71 ( 2016-10-25 15:45:36 +0300 )edit

forget my question before i did'nt really understood the way you wanted to do. now i got it. Maybe you should investigate how you could make the reverse way with cyberduck for having the right to do it...

cemoi71 ( 2016-10-25 16:56:32 +0300 )edit

but really the native app "file browser" make it job great too. and easier for the transfer phone<=>sdcard

cemoi71 ( 2016-10-25 16:59:47 +0300 )edit
0

answered 2016-10-25 13:20:30 +0300

jpek-m gravatar image

updated 2016-10-25 13:20:47 +0300

With tar command in Terminal:

cd Pictures/Camera
mkdir /sdcard/Pictures/Camera
tar cf - .  | ( cd /sdcard/PicturesCamera && tar xBf - )

This is not good, as it does not preserve the time stamps of the files.

Suggestions?

edit flag offensive delete publish link more

Comments

4

mv ~/Pictures/Camera/* /sdcard/Pictures/Camera/?

Sthocs ( 2016-10-25 13:25:03 +0300 )edit

Ok! is such of deep way.
then mv is move and cp is for copy, then you may use the option -R for recursive.
cp -R xxxxxxxxxx xxxxxxxxxxxxx.

cemoi71 ( 2016-10-25 15:05:26 +0300 )edit
0

answered 2016-10-25 13:17:19 +0300

cemoi71 gravatar image

For Mac XNJB seems to be a good one http://www.wentnet.com/projects/xnjb/. seems to handle with pic, video and data. If someone could try it and make his feedback, will be great.

edit flag offensive delete publish link more
0

answered 2016-10-25 11:35:20 +0300

cemoi71 gravatar image

updated 2016-10-25 11:37:23 +0300

like @ApB told, If your card is already plugged in the phone, you may use the app "file browser" is sfos store, to copy file per file or directory per directory (with content) to the card.
The app provide cut/copy and past functions, but i let remark be careful with cut functions, like the one with the OS with ctrl+X

edit flag offensive delete publish link more

Comments

Says "Unknown error /home/nemo/Pictures/Camera". Maybe the directory is in use

jpek-m ( 2016-10-25 11:43:24 +0300 )edit

??? what did you do step for step, that you have this message?

cemoi71 ( 2016-10-25 11:55:59 +0300 )edit

i make a long tap on the directory, then comes a menu with property, cut and copy.
i choose copy. then i tap on the name on the top right side beside the arrow, and choose sdcard.

cemoi71 ( 2016-10-25 11:59:56 +0300 )edit

I tried to copy the entire Camera directory. Directory copy seems not to be available and there is no easy way to select all files in the directory.

Tried to find some cpio-command in Terminal, but there is no such command

jpek-m ( 2016-10-25 12:16:31 +0300 )edit

with which tool exactly do you try to do it?

cemoi71 ( 2016-10-25 12:36:16 +0300 )edit
0

answered 2016-10-25 11:31:31 +0300

cemoi71 gravatar image

updated 2016-10-25 11:36:26 +0300

Solution from @Sthocs works with other OS too like ubuntu for example (my setup).
And be careful with the cut function (ctrl+x)

edit flag offensive delete publish link more
3

answered 2016-10-25 11:18:49 +0300

Sthocs gravatar image

The quickest way is to use a computer with Windows (I suggest to use the occasion to copy the files on your computer too):

  1. Connect your phone to your computer
  2. On the popup appearing on your phone, click on "PC connection"
  3. On the popup appearing on your computer, click on "Open device to view files"
  4. Go to the directory where your files are, e.g. Mass storage > Pictures > Camera and select the files you want
  5. Ctrl + x (or right click -> Cut)
  6. Go to SD Card > The_directory_you_want, and do Ctrl + v (or right click -> Paste)
edit flag offensive delete publish link more

Comments

why just with windows please? it works with other os.

cemoi71 ( 2016-10-25 11:29:39 +0300 )edit

just be careful with cut function

cemoi71 ( 2016-10-25 11:35:47 +0300 )edit

Sorry, not working with MacOS – there is probably no application for this connection

jpek-m ( 2016-10-25 11:35:56 +0300 )edit

@jpek-m it should support mtp protocol. maybe with an installed app.

cemoi71 ( 2016-10-25 11:39:17 +0300 )edit

shortly i gave a look here (there is nothing in tjc)
https://discussions.apple.com/thread/3371288?start=0&tstart=0
http://www.sync-mac.com/fr/mtp-sync.html
Don't know if it do the job exactly, i have not apple computer...

cemoi71 ( 2016-10-25 11:44:09 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2016-10-25 10:54:01 +0300

Seen: 2,909 times

Last updated: Oct 27 '16