Search Results

Search: Posts Made By: say170
2,162
Posted By Don Cragun
If, instead of using: -exec sudo mv -f {}...
If, instead of using:
-exec sudo mv -f {} /home/files/ \;
you use:
-exec sudo mv -f -t /home/files/ {} +
it should run as fast as (and probably a little bit faster than) what you were getting...
5,543
Posted By RudiC
Try the -t option to ssh.
Try the -t option to ssh.
2,198
Posted By Akshay Hegde
akshay@nio:/tmp$ cat file.csv 2014-08-21...
akshay@nio:/tmp$ cat file.csv
2014-08-21 18:06:26,A,B,12345,123,C,1232,26/08/14 18:07
akshay@nio:/tmp$ cat date_format.awk
function fmt(v,reverse){

split(v,dt,"[-/ :]")
str=dt[1]" "dt[2]"...
1,018
Posted By Scrutinizer
If you want to print it your will need to again...
If you want to print it your will need to again use eval:
eval "printf '%s\n' \"\${${oc}[@]}\""
1,112
Posted By Scrutinizer
Try: awk '{p=$1;for(i=2;i<=NF;i++)p=p OFS...
Try:
awk '{p=$1;for(i=2;i<=NF;i++)p=p OFS $i+1000000;print p}'

$ echo "6078: 6072 6073 6074 6075 6076 6077 6078 6079" | awk '{p=$1;for(i=2;i<=NF;i++)p=p OFS $i+1000000;print p}'
6078:...
4,593
Posted By mirni
It's because it's matching "ID" in "VALID" Add...
It's because it's matching "ID" in "VALID"
Add an anchor here:
awk '/^Data/{split($2,N,"[#\"]");n=N[2]} /^ *I[dD]/{n=$2} n""{sub(n,n+1000000);n=x}1'

I should have put it there right away...
Showing results 1 to 6 of 6

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