Naudojimas: apt-ftparchive [parametrai] komanda
Komandos: dvejatainių paketų kelias [perrašomasfailas [keliopriešdėlis]]
sources aplankas [perrašomasfailas [kelippriešdėlis]]
contents kelias
release kelias
generate parametras [grupės]
clean parametras
apt-ftparchive generuoja indeksų failus, skirtus Debian archyvams. Palaikomi keli
generavimo stiliai, įskaitant nuo pilnai automatizuoto iki funkcinių pakeitimų
skirtų dpkg-scanpackages ir dpkg-scansources
apt-ftparchive sugeneruoja paketų failus iš .debs medžio. Paketo failas turi visus
kontrolinius kiekvieno paketo laukus, o taip pat ir MD5 hešą bei failų dydžius. Perrašomasis
failas palaikomas tam, kad būtų priverstinai nustatytos Pirmenybių bei Sekcijų reikšmės.
Panašiai apt-ftparchive sugeneruoja ir Išeities failus iš .dscs medžio.
--source-override nuostata gali būti naudojama nustatant išeities perrašomąjį failą
"Paketų" bei "Išeičių" komandos turėtų būti paleistos failų medžio šaknyje. BinaryPath turėtų
nurodyti kelią į rekursinės paieškos pagrindą bei perrašytas failas turėtų turėti perrašymo žymes.
Keliopriešdėlis tai yra prirašomas prie failo vardų laikų jei tokių yra. Vartosenos pavyzdys
naudojant Debian archyvą:
apt-ftparchive packages dists/potato/main/binary-i386/ > \
dists/potato/main/binary-i386/Packages
Nuostatos:
-h Šis pagalbos tekstas
--md5 Valdyti MD5 generavimą
-s=? Šaltinio perrašomas failas
-q Tylėti
-d=? Pasirinkti papildomą kešo duomenų bazę
--no-delink Įjungti atjungiamąjį derinimo rėžimą
-c=? Perskaityti šį nuostatų failą
-o=? Nustatyti savarankišką konfigūracijos nuostatą