- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
<?php
if($argc<2) exit(0);
print_r($tmp);
for($i=1;$i<=$argc;$i++)readdir_rec($argv[$i]);
function readdir_rec($path){
$dir = opendir($path);
global $size;
while($d = readdir($dir)){
if ($d == '.' || $d == '..') continue;
if (is_file($path.'/'.$d)){
echo $path."/".$d."\n";
}
else if (is_dir($path.'/'.$d)) readdir_rec($path.'/'.$d);
}
}
?>
#!/bin/bash
c=0;
declare -a fls;
for fl in `php /home/markus/bin/ps2.php $*`
do
let c++;
fls[$c]=$fl;
done
for((i=0;i<=${#fls[@]}-1;i++))
{
for((i2=$i+1;i2<=${#fls[@]};i2++))
{
echo "${fls[$i]} ${fls[$i2]}";
diff -acBi --brief ${fls[$i]} ${fls[$i2]}
}
}
fuckyounoob 13.01.2011 18:16 # −13
zooz 13.01.2011 18:51 # 0
bugmenot 13.01.2011 22:05 # +6
SemaReal 25.03.2018 14:41 # 0
inho 25.03.2018 21:25 # 0
SemaReal 26.03.2018 03:46 # 0
30JloTou_xyu 26.03.2018 05:33 # 0
Pifagor 24.08.2021 02:10 # 0