python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to properly pass filenames with spaces with $* from xargs to sed via sh?
Disclaimer: this happens on macOS (Big Sur); more info about the context below.
I have to write (almost did) a script which will replace images URLs in big text (xml) files by their Base64-encoded val...
maxxyme
Votes: 0
Answers: 2
Multiple process curl command for urls to output to individual files
I am attempting to curl multiple urls in a bash command. Eventually I will be curling a large number of Urls so I am using xargs to use multiple processes to speed up the process.
My file consists of ...
Valentino
Votes: 0
Answers: 2
Running basename on remote server with xargs does not produce expected results
Say I have a file myFile.txt in a local directory called ~/local/directory, then the following command produces results as expected (full file path followed by the name of the file only):
find ~/local...
mtruong1999
Votes: 0
Answers: 1
using -exec vs. using xargs with the locate command in linux
This is a little mystery regarding the difference between -exec {} and xargs that I'm trying to understand. I would appreciate any guidance on this.
As background, I've just learned about the "l...
Sanjo
Votes: 0
Answers: 1