Debian runs well even on systems with as little as 512 MBytes of RAM.
so imho even on a QNAP NAS there should be no more “argument list too long” for whatever reason.
lsb_release -d; # official way: tested on Description: Debian GNU/Linux 11 (bullseye) hostnamectl; # also works on most systems: tested on Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-23-amd64 Architecture: x86-64 # tested on: busybox specific busybox | head -1 BusyBox v1.01 (2021.12.12-04:24+0000) multi-call binary # Debian getconf ARG_MAX 2097152 # busybox: -sh: getconf: command not found # ENTERING DANGER ZONE! # BE SURE TO KNOW THAT DEPENDING ON THE SPEED OF THE SYSTEM: # THIS CAN DELETE A LOT OF VALUABLE DATA FAST! # AND WHEN EXT4 IS USED, FILENAMES WILL BE UNRECOVERABLE! # dryrun for f in *.png; do echo "about to delete: $f"; done # delete for f in *.png; do echo "deleting: $f"; rm "$f"; done
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!