User avatar
CaptSunset
Posts: 140
Joined: Fri Mar 20, 2015 2:55 pm

File Transfer Problem: Early Wheezy on Pi 2B

Thu Sep 29, 2016 5:33 pm

Hi guys, this is sort of embarassing 'cause I know I knew this, but am now kinda flummoxed.

I'm giving a lady friend one of my 'old' Raspberry Pi 2Bs, it had whichever version of Debian Wheezy was current when the 2B first came out, but as my first Pi, it was frequently if ignorantly apt-get upgraded.

My problem is about offloading some important files to a flashdrive. The PNY 8G seems to be properly mounted, and I've transferred individual .pdfs, .mp3s, .pngs, .txts, etc without a hitch. The trouble is a folder that contains several saved webpages that are two parts: a file & a folder containing the numerous page content files. (They are the Adafruit setup instructions for their old #1983 2.8" Touchscreen hat.)

When I try to copy the archived parent folder to the flashdrive, I get a message that it already exists on the drive- and what do I want to do? The only option Wheezy gives is to overwrite the existing files, but the newly created parent folder sure appears empty. So do trying it with any subfolders.

What am I doing wrong? :roll:

Also, I'm wondering if an upgrade to Jessie on a 2B runs smooth; she only wants a surf, mail, and smart typewriter machine and has been using Ubuntu on a very vintage Acer for a while without panicking. That still means basically a GUI user...

User avatar
topguy
Posts: 5967
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: File Transfer Problem: Early Wheezy on Pi 2B

Fri Sep 30, 2016 9:07 am

You could zip down the folder and copy it that way.

User avatar
RaTTuS
Posts: 10506
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: File Transfer Problem: Early Wheezy on Pi 2B

Fri Sep 30, 2016 9:30 am

sudo rsync -vax / user@remote machine
then sort out what is what later ;)

sudo rsync -vax / /mnt/whatever the local drive is mounted as [make it an ext partiton]

do it by hand
cp local files /mnt/whatever/directory
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
CaptSunset
Posts: 140
Joined: Fri Mar 20, 2015 2:55 pm

Re: File Transfer Problem: Early Wheezy on Pi 2B

Fri Sep 30, 2016 4:13 pm

Thanks, guys, I will give those methods a try; one is bound to work, right?

If we had a Like button, I'd like you both. Wait, that came out wrong... :D

User avatar
CaptSunset
Posts: 140
Joined: Fri Mar 20, 2015 2:55 pm

Re: File Transfer Problem: Early Wheezy on Pi 2B

Sat Oct 01, 2016 1:49 pm

OK , this is sorta solved, but revealed another issue.

First I tried TopGuy's idea of zipping it, but 7-zip wasn't installed and apt-get gave me trouble finding it (spelling: 7zip, 7-zip, 7-Zip, etc), so I tried the GUI built-in Archiver.

The Archiver seemed to work, and I could copy the package onto the flashdrive, and it wasn't empty.

However, trying to test-extract the files on a win7 machine got a package corrupted message.
Yet I was then able to open & extract the same package with no problem on a Pi3B running Jessie.

If you're working with multiple OSes, I'd say be sure to test any archival method for cross-platform compatibility.

Return to “Troubleshooting”