
Envoyé par
N_BaH
normalement, ce n'est pas possible sur un même système de fichiers.
Je me suis mal exprimé.
Mon objectif est de supprimer les "pointeurs" dans arborescence.
J'ai un peu avance
find -type f -printf "%i\t%n\t%s\t%A@\t%f\t%A+\t\"%p\"\t%i\n" | sort -n
1 2 3 4 5 6 7 8 9 10 11 12
| 23494491 30 2223 1608750411.0961266100 koi-win 2020-12-23+21:06:51.0961266100 "./n2/nginx/koi-win" 23494491
23494491 30 2223 1608750411.0961266100 koi-win 2020-12-23+21:06:51.0961266100 "./n3/n2/nginx/koi-win" 23494491
23494491 30 2223 1608750411.0961266100 koi-win 2020-12-23+21:06:51.0961266100 "./nginx/koi-win" 23494491
23494492 30 2837 1608750411.2961160330 koi-utf 2020-12-23+21:06:51.2961160330 "./n2/nginx/koi-utf" 23494492
23494492 30 2837 1608750411.2961160330 koi-utf 2020-12-23+21:06:51.2961160330 "./n3/n2/nginx/koi-utf" 23494492
23494492 30 2837 1608750411.2961160330 koi-utf 2020-12-23+21:06:51.2961160330 "./nginx/koi-utf" 23494492
23494507 30 60 1612309671.5057070760 50-mod-http-xslt-filter.conf 2021-02-03+01:47:51.5057070760 "./n2/nginx/modules-enabled/50-mod-http-xslt-filter.conf" 23494507
23494507 30 60 1612309671.5057070760 50-mod-http-xslt-filter.conf 2021-02-03+01:47:51.5057070760 "./n3/n2/nginx/modules-enabled/50-mod-http-xslt-filter.conf" 23494507
23494507 30 60 1612309671.5057070760 50-mod-http-xslt-filter.conf 2021-02-03+01:47:51.5057070760 "./nginx/modules-enabled/50-mod-http-xslt-filter.conf" 23494507
23494508 30 53 1612309671.5057070760 50-mod-http-echo.conf 2021-02-03+01:47:51.5057070760 "./n2/nginx/modules-enabled/50-mod-http-echo.conf" 23494508
23494508 30 53 1612309671.5057070760 50-mod-http-echo.conf 2021-02-03+01:47:51.5057070760 "./n3/n2/nginx/modules-enabled/50-mod-http-echo.conf" 23494508
23494508 30 53 1612309671.5057070760 50-mod-http-echo.conf 2021-02-03+01:47:51.5057070760 "./nginx/modules-enabled/50-mod-http-echo.conf" 23494508 |
Reste à garder les lignes "doublons" pour pouvoir les supprimer (et non pas le premier de chaque groupe comme avec | uniq -f7 -d) .
Merci
Partager