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.

51 questions
10
votes
4 answers

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 I reverse the expansion, and end up with a small…
Paolo Vacirca
  • 243
  • 2
  • 3
  • 7
7
votes
2 answers

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 Macbook Air and it doesn't have Ethernet. So what…
eds1999
  • 203
  • 1
  • 2
  • 6
6
votes
4 answers

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 if theres a way to remove that empty space from…
Mohd Salman
  • 61
  • 1
  • 2
  • 4
5
votes
2 answers

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=082d [139216.356929] usb 1-1.3: New USB device…
skrhee
  • 175
  • 1
  • 1
  • 6
4
votes
3 answers

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 this? Thanks!
Joelvanf
  • 61
  • 1
  • 2
  • 7
4
votes
2 answers

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 the pi. I am sure sending an email would be easy…
skyfly200
  • 51
  • 1
  • 4
3
votes
2 answers

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 Server software running on Raspbian), and I want my…
2
votes
2 answers

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?
Matthew Moisen
  • 745
  • 5
  • 11
  • 25
2
votes
1 answer

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 issue lies in the camera hard or software…
Hazy
  • 21
  • 2
2
votes
2 answers

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 jessie. Can you add flags like -i when you make…
jath03
  • 436
  • 1
  • 4
  • 13
2
votes
0 answers

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 blueman bluez and I completed pairing my raspberry…
user21427
  • 131
  • 6
2
votes
1 answer

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 of too many erase/write cycles. the raspberry is…
twooBeers
  • 123
  • 3
2
votes
1 answer

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 boot messages to a file where I can more carefully…
audiFanatic
  • 121
  • 2
2
votes
1 answer

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 would REALLY like to be able to do this from a…
2
votes
2 answers

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 $ ifconfig eth0 Link encap:Ethernet Hardware…
s3bi
  • 160
  • 1
  • 2
  • 7
1
2 3 4