Search Results

Search: Posts Made By: vhope07
3,582
Posted By vhope07
#!/bin/bash for i in {1..10} do ...
#!/bin/bash
for i in {1..10}
do
list[$i]=$(ls -lS | awk "NR>$i" | awk 'NR%10==1'{'print $8'})
done
for i in {1..10}
do
for file in ${list[$i]}; do genrep.pl $file ../test2 ;done &
done
...
3,582
Posted By vhope07
script to list the files and split them ...
script to list the files and split them


#!/bin/sh
$dest=/my/destination/directory
ls -l | sort -n | awk {`print $9'} > /tmp/all
cd /tmp ; split -l 10000 /tmp/all
Then I can go to /tmp and...
2,046
Posted By vhope07
when you su - oracle, it will call ".profile" or...
when you su - oracle, it will call ".profile" or ".cshrc", ".kshrc", ".bashrc" etc depending on which shell you are using.

so do a 'ls -a' and then open the startup script and find out which...
3,582
Posted By vhope07
help to parallelize work on thousands of files
I need to find a smarter way to process about 60,000 files in a single directory.

Every night a script runs on each file generating a output on another directory; this used to take 5 hours, but...
Showing results 1 to 4 of 4

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