Go to advanced search

by Rasp77
Sat Jun 29, 2019 10:53 am
Forum: Advanced users
Topic: RPi NAS: best script to detect if directory is empty [Solved]
Replies: 13
Views: 2839

Re: RPi NAS: best script to detect if directory is empty

Store the number of files in this variable

number=`ls /mnt/synchdd | wc -l`

Then see code here

https://www.linuxtechi.com/shell-script ... s-with-if/
by Rasp77
Fri Jun 28, 2019 7:01 pm
Forum: Advanced users
Topic: Can the pi 4 boot off exfat?
Replies: 18
Views: 4984

Can the pi 4 boot off exfat?

Before I buy some new sd cards, I’m wondering if this guidance is valid for the pi 4 or if it needs to be updated. Raspberry Pi's bootloader, built into the GPU and non-updateable, only has support for reading from FAT filesystems (both FAT16 and FAT32), and is unable to boot from an exFAT filesyste...

Go to advanced search