Uporaba: apt-ftparchive [možnosti] ukaz
Ukazi: packages, binarypath [datoteka prepisa [predpona poti]]
sources srcpath [datoteka prepisa [predpona poti]]
contents path
release path
generate config [skupine]
clean config
apt-ftparchive ustvari datoteke kazala za arhive Debian. Podpira
več slogov ustvarjanja od popolnoma samodejnih do funkcionalnih zamenjav
za dpkg-scanpackages in dpkg-scansources
apt-ftparchive ustvari datoteke paketov iz drevesa .debs. Datoteka
paketa vsebuje vsebino vseh nadzornih polj iz vsakega paketa kot tudi
razpršilo MD5 in velikost datoteke. Datoteka prepisa podpira vsiljenje
vrednosti Prednosti in Odseka.
Podobno apt-ftparchive ustvari datoteke paketov iz drevesa .dscs.
Možnost --source-override je mogoče uporabiti za navedbo datoteke prepisa src
Ukaza 'packages' in 'sources' je treba zagnati v korenu drevesa.
BinaryPath bi morala kazati na osnovno mapo rekurzivnega iskanja in
datoteka prepisa bi morala vsebovati zastavice prepisa Predpona je pripeta
v polja imena datoteke, če je prisotna. Primer uporabe iz arhiva Debian:
apt-ftparchive packages dists/potato/main/binary-i386/ > \
dists/potato/main/binary-i386/Packages
Možnosti:
-h To besedilo pomoči
--md5 ustvarjanje nadzorne vsote MD5
-s=? datoteka prepisa vira
-q tiho
-d=? izbere izbirno podatkovno zbirko pomnilnika
--no-delink omogoči način razhroščevanja razvezovanja
--contents nadzira ustvarjanje datoteke vsebine
-c=? prebere to nastavitveno datoteko
-o=? nastavi poljubno možnost nastavitve