Search Results

Search: Posts Made By: kristinu
27,662
Posted By kristinu
Using rsync with xargs
I want to run parallelise rsync with xargs. The plan is to
take separate directories and run rsync in parallel.


find . -mindepth 1 -maxdepth 1 print0 | xargs -n1 -P0 rsync -avz


Hoxever I...
2,738
Posted By kristinu
Pdftotext from multiple pdf files to a single text file
I have a directory having a number of pdf files.
I want to convert all the files to text, stored in a single text file

The following creates multiple text files


ls *.pdf | xargs -n1 pdftotext
20,536
Posted By kristinu
Here is another example, saving $1 in array val ...
Here is another example, saving $1 in array val

FNR == NR {
/>/ && idx[FNR] = ++i
$2 || val[i] = $1 # Store source location
next
}
1,430
Posted By kristinu
I have run the script and things are fine. And I...
I have run the script and things are fine. And I fixed some problems. Not sure why the script failed on some instances. Anyway, I found the files with the problem and now things are working.
3,494
Posted By kristinu
You got to pipe it if you want tr command.
You got to pipe it if you want tr command.
2,692
Posted By kristinu
for i in {1..3} do echo "i is $i" for...
for i in {1..3}
do
echo "i is $i"
for (( j=1; j<=i; j++ ))
do
echo "j is "$j
done
done
2,145
Posted By kristinu
history remembers the most recent events done on...
history remembers the most recent events done on the command line set history=40

---------- Post updated at 07:14 PM ---------- Previous update was at 07:08 PM ----------

For actions for the...
26,783
Posted By kristinu
An example is echo "\033[1;31m Hello...
An example is


echo "\033[1;31m Hello \033[0m"



The '31' and the '1' are the things you change. The '31' is the color code, and the '1' is where you put whatever you want to color. The...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 09:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy