Questions tagged [file]

a resource for storing information (think of it as a counterpart of a paper document). Typically stored on a durable medium, e.g. hard-disk drives or flash memory.

Filter by
Sorted by
Tagged with
0
votes
2answers
101 views

How to find available space and free space if low [closed]

I need to programmatically be able to see how much space is left on the SD card and if it is low delete some files. I'm not sure how to go about getting the value of the SD card space and then saving ...
1
vote
0answers
19 views

Connecting to Samba NAS from another Raspberry Pi

I've setup a NAS Samba server for my Uni project, and I'm able to access all of the files from my Windows PC. However, I want to try access the NAS from another Raspberry Pi. I got to 'Go>Network>...
1
vote
1answer
40 views

I tried to hard wire power to pi 3 b, and smoked the board… File recovery?

I've been using my raspberry pi for about a year now, with Octoprint for my 3d printer. One of the more recent updates started showing it as under-voltaged. Over the last week, it started to cut out, ...
1
vote
1answer
25 views

How to recover files?

I was editing a code in raspberry with the nano editor and I accidentally turned off the raspberry and now when I opened the file, there is nothing, any idea of how to recover the code?
2
votes
3answers
258 views

View files on a Raspbian SD Card from a Mac?

Recently, my Pi 3 broke, and I had some important files on its Raspbian Stretch SD card. I would like to get these files off the SD card without buying a whole new Pi. Does anyone know a way of doing ...
0
votes
2answers
238 views

input/output error using scp with external HD

I'm not sure if this forum is most appropriate to ask. However, I'm transferring large batch of files from a external HD via scp, between a raspberry pi and my desktop Looking back, many of the ...
0
votes
1answer
138 views

delete files instead of moving to wastebasket

How to delete files in folders instead of moving to waste basket? When I right click file it only gives option to move to waste basket. Want to do this in GUI and not terminal.
0
votes
1answer
46 views

Why is the autostart a directory and not a file in .config on Pi 3b+ [closed]

Unable to open the autostart file to enable RealVNC to auto boot
2
votes
1answer
40 views

Monitor directory for regular file creation and alert if the stream of files stops

I have had a Raspberry Pi Zero W controlled, time-lapse camera taking pictures, of a construction project, every 60 seconds for nearly three months and recently it's started failing. I suspect the ...
1
vote
1answer
215 views

Send encoder data to Mobile app using bluetooth

I have a requirement wherein I need to measure the distance travelled (Real-time) and display it on an app on a tablet present inside that moving vehicle. I have a setup wherein I have connected the ...
2
votes
4answers
4k views

Is there a way to compress a backup of the RPi because the backup has empty space?

I did a backup for my RPi (64GB microsd card) and it saved the entire 64GB worth .img file... while theres only ~14GB worth actual data, the image file accounts also for that empty space. Anyone know ...
1
vote
0answers
369 views

Motion ffmpeg_open: url_fopen - error opening file (check access rights to target directory)

I am trying to record my motion videos inside the directory /media/pi/camera. This directory has the following permissions: drwxrwxr-x 2 motion motion 4096 Aug 9 20:04 camera I set the same ...
0
votes
1answer
14 views

Where are my scripts?

My RPi 3 model B SD card would not load after an attempt to upgrade today, which aborted part way through. I reinstalled a fresh system on a new card and all is well. I loaded the old card in a USB ...
0
votes
1answer
205 views

jessie PIXEL and file copy

While I can move files using drag / drop in PIXEL, how do I copy a file to a new folder and leave the original in place. With Windows you just hold CTRL down. Doesn't work in PIXEL. Are there '...
0
votes
1answer
528 views

Why create a link to .so file?

I am following an install procedure and it indicates downloading a .so file and creating a link to it: sudo ln -s $(DynamsoftBarcodeReader)/lib/libDynamsoftBarcodeReader.so /usr/lib/...
1
vote
1answer
1k views

Share files betweens two raspberry pis

I am hoping to find out how to share files between two Raspberry Pi's. I've used samba before on each individual Raspberry Pi with my Windows computer but this doesn't allow me to share files on my ...
0
votes
2answers
244 views

Files edited with nano are corrupted after reboot or shutdown

I came across this problem with my RPi 2 model B many times this last month, and I wanted to ask your opinion about it. The problem occurred with Raspbian Jessie Lite, both the 23/09/2016 version and ...
2
votes
1answer
12k views

How to make a python 3 file executable and pause after running

I want to make a file executable, but I don't know how to do that and have the idle prompt appear afterward. Is the best way to just open idle and then import the file? I'm using python3 on raspbian ...
0
votes
1answer
445 views

Directing mjpeg video to file w/ cvlc

I'm trying to capture full field of view video from my Raspberry Pi camera (by full field-of-view I mean video that uses the full 2592x1944 set of pixels on the image sensor but that is downsampled to ...
2
votes
0answers
191 views

File Transfer Failed : From RaspberryPi3 to My Mobile on Bluetooth

File Transfer Failed : From RaspberryPi3 to My Mobile on Bluetooth I have a Raspberry Pi 3 and the following command complete. $ sudo apt-get install pi-bluetooth $ sudo apt-get install bluetooth ...
1
vote
0answers
97 views

Reading / writing to USB storage on a Pi

I set up my Raspberry Pi about 6 months ago, (October) and everything seemed to be working fine where I could using Tight VNC to remotely access it and download torrents e.t.c. However, eventually ...
2
votes
1answer
168 views

linux system file writes to flash card, efficiency and flash endurance

I've got a more common question. I come from bare metal microcontroller development - there we usually avoid flash write access for several reasons. one is to avoid damage of the flash memory because ...
0
votes
2answers
446 views

How to locate files for GPSD in Raspbian?

I am trying to find where the program gpsd is saved because I need to edit a file to get my pi and gps to talk. I have been following instructions from http://www.instantsupportsite.com/self-help/...
0
votes
2answers
66 views

Sending files (Documents, videos etc.) Raspi to Raspi

I have 2 Raspberry Pi's. I want to transfer files from my first Raspberry Pi to my second Raspberry Pi any guides my masters :)? sorry for the consecutive questions I'm just new to Raspberry Pi. P.S ...
1
vote
1answer
117 views

OS is hanging after a cat of a file (DS18B20 probe) — How can Python break out of the hang? [closed]

A python script on my RPi reads the temperature from a DS18B20 probe located at /sys/bus/w1/devices/<probe id>/w1_slave. Right now the program is hanging at the line to read the file: with ...
7
votes
1answer
7k views

Reverse the expand root FS

When installing Raspbian, the first thing you're told to do is to expand the file system to stretch across the whole SD card. Works great. But what if I want to save space when doing a disk image. Can ...
4
votes
2answers
14k views

Raspberry Pi Recognizes Logitech C920 Webcam But Can't Do Anything

Running Rasbian OS on Raspberry Pi B From dmesg: [139215.134634] usb 1-1.3: new high-speed USB device number 7 using dwc_otg [139216.356892] usb 1-1.3: New USB device found, idVendor=046d, idProduct=...
1
vote
1answer
2k views

Import image to python program

I am trying to run a simple python program that loads an image: import Image import os.path script_dir = os.path.dirname(os.path.abspath('__file__')) im = Image.open(os.path.join(script_dir, 'test....
0
votes
1answer
4k views

Can't find file 'whichopensslcnf' while it's there in OpenVPN

I got a weird problem while trying to follow the tutorial How to set up a Raspberry Pi VPN server for setting up OpenVPN on a Raspberry Pi: At 3. cd /etc/openvpn/easy-rsa . ./vars ./clean-all ./...
2
votes
1answer
221 views

Redirect boot messages to file

I'm having an issue with my Pi shutting down shortly after booting. I can see the boot messages pass by on the screen, but they pass by too quickly for me to read. Is there anyway I can redirect the ...
3
votes
1answer
781 views

Is there a way to make a Transmission Torrent Server from a Pi?

I apologize in advance for the somewhat generic nature of this questions, but I am new to using my Pi. I had a thought recently of how I would like to serve up some of my own files as .torrents and ...
3
votes
2answers
152 views

Raspbian/OctoPi File Recover

I dropped my Pi on the SD Card slot. It broke and now I want to recover my files off of my SD Card, but I only see a boot partition with no relevant files inside. I was using OctoPi (3D Printing ...
3
votes
2answers
3k views

Email notifications for low free space

I want to send an email when the space on my pi's sd card is getting low. Also I would like to delete old files when disk space is very full. I can program in Python though I have not yet done so for ...
0
votes
2answers
98 views

Displaying binary files in the Terminal completely messes up the Terminal

Please understand this question like a "Have you experienced the same phenomenon?". When I display a binary file with tail or less, my Terminal gets completely messed up. All I can do is reboot the ...
6
votes
2answers
10k views

Edit root files from SD card?

So my RPI is working great and is running it's OS from the SD card. A lot of the time when i'm programming i don't have an internet connection. I can't make a direct connection to my mac cause it's a ...
2
votes
2answers
341 views

Write current IP adress eth0 to a file

I need to store the current IP adress of my Raspberry Pi into a file. Can someone tell me how to do this? The goal is to create a file in /var/www/ipadress.txt with this content: 192.168.0.28 $ ...
2
votes
2answers
5k views

How do I check the MD5 for a file I downloaded on Raspberry Pi?

How would I be able to verify the MD5 for a file that I downloaded on RPi?
1
vote
1answer
2k views

Custom MOTD without changing prompt colors

I happened to stumble on this forum thread (and every other page I find on RPi MOTD links here), and found a nice description on how to change the MOTD. However, after creating a /home/pi/....
0
votes
1answer
1k views

Python errors reading / writing files from Python executable

I'm writing a Python application that is executable. It reads and writes to a file. The application uses wx for a GUI and has been given the following permissions: chmod +x app.py When I load the ...