Trending

#xargs

Latest posts tagged with #xargs on Bluesky

Latest Top
Trending

Posts tagged #xargs

Preview
xargs: warning: options -max-args and -replace/-I/-i are mutually exclusive, ignoring previous -max-args value - Sal Ferrarello This threw me for a loop so I'm writing this down to help others (and likely me in the future). I swear I've used "xargs" with both "-I" and "--max-args" in the past but now I'm getting this warning and things are behaving improperly. It turns out there are two version of xargs, (FreeBSD xargs and GNU xargs). FreeBSD xargs is installed on BSD systems (including MacOS) and GNU xargs is found on on Linux systems. This warning (and the incorrect result you also get) indicate you're running GNU xargs.

xargs: warning: options –max-args and –replace/-I/-i are mutually exclusive, ignoring previous –max-args value This threw me for a loop so I'm writing this down to help others (and likely...

#Computing #Dev #Tips #Solution #command #line #xargs

Origin | Interest | Match

0 0 0 0
Awakari App

Create Subfolders for files and move them into, each for themselves – unix.stackexchange.com In Linux in a Folder there are these files: LQ0gfKQej7GKG44Cn0sSAC.part01.rar LQ0gfKQej7GKG44Cn0sSAC.p...

#linux #find #xargs

Origin | Interest | Match

0 0 0 0
Original post on fulda.social

Ok. Remotely cleaning a huge (>2 TB, many many files and subdirs) #Nextcloud-hosted folder (not the whole user) is *painful*. Without access to the host it runs on I am limited to either the webinterface - which breaks - or using #webdav with a tool like #rclone.

#rclone purge breaks (timeout) […]

0 0 1 0
Post image

#Totally #Linux #TotallyMoreLinux #Xargs

0 0 1 0
xargs wtf xargs is probably one of the more difficult to understand of the unix command arsenal and of course that just means it’s one of the most…

#xargs wtf
#UNIX #BSD #Linux https://medium.com/@aarontharris/xargs-wtf-34d2618286b7

0 0 0 0

Here a quick way to match & execute, something that would usually invoke at least #grep and #xargs: #nmcli #docker bridges

nmcli connection show | awk -e '{ if ("bridge" == $3) {system("nmcli connection delete " $1)} }'

Note: system() execs sh, production => make sure to quote.

0 0 0 0