Changeset 42606 for trunk/tools/eam/rebalance/rebalance.mana
- Timestamp:
- Feb 5, 2024, 8:27:02 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/tools/eam/rebalance/rebalance.mana (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rebalance/rebalance.mana
r42314 r42606 163 163 164 164 # list files -x "/bin/ls -l `cat $filelist` | sort -k 5nr" 165 list files -x "./neb_make_movelist.sh $filelist" 165 166 # this shell script returned the output of ls -l (filesize = word[4], filename = word[8]) 167 # list files -x "./neb_make_movelist.sh $filelist" 168 169 # this perl script returns the filename and size only 170 list files -x "./neb_make_movelist.pl $filelist" 166 171 167 172 # generate subset list to match goal size … … 170 175 while (($Ntotal < $NremoveSub) && ($j < $files:n)) 171 176 list word -split $files:$j 172 $keep:$j = $word:8 173 $Ntotal += $word:4 177 # $keep:$j = $word:8 178 # $Ntotal += $word:4 179 $keep:$j = $word:0 180 $Ntotal += $word:1 181 174 182 # echo $word:4 $Ntotal : $NremoveSub $keep:$j 175 183 $j ++
Note:
See TracChangeset
for help on using the changeset viewer.
