RM(1) Kayttajan sovellukset RM(1)
NIMI
rm - remove files or directories
YLEISKATSAUS
rm [VALITSIN]... [TIEDOSTO]...
KUVAUS
This manual page documents the GNU version of rm. rm removes each
specified file. By default, it does not remove directories.
If the -I or --interactive=once option is given, and there are more
than three files or the -r, -R, or --recursive are given, then rm
prompts the user for whether to proceed with the entire operation. If
the response is not affirmative, the entire command is aborted.
Otherwise, if a file is unwritable, standard input is a terminal, and
the -f or --force option is not given, or the -i or
--interactive=always option is given, rm prompts the user for whether
to remove the file. If the response is not affirmative, the file is
skipped.
VALITSIMET
Poista (irrota linkitys) TIEDOSTO(t).
-f, --force
ala huomioi puuttuvia tiedostoja, ala kysy mitaan
-i kysy ennen jokaista poistoa
-I prompt once before removing more than three files, or when
removing recursively; less intrusive than -i, while still giving
protection against most mistakes
--interactive[=MILLOIN]
kehottaa sen mukaan, MILLOIN: ei koskaan, kerran (-I) tai aina
(-i); ilman MILLOIN:a, kehota aina
--one-file-system
jarjestelma, kun poistat hierarkian rekursiivisesti, ohita
hakemisto, joka on tiedostojarjestelmassa, joka ei ole vastaavan
komentoriviargumentin argumentti
--no-preserve-root
ala kohtele juurta ("/") erityisesti
--preserve-root[=all]
do not remove '/' (default); with 'all', reject any command line
argument on a separate device from its parent
-r, -R, --recursive
poista hakemistojen sisalto rekursiivisesti
-d, --dir
remove empty directories
-v, --verbose
selita mita tapahtuu
--help nayta tama ohje ja poistu
--version
nayta versiotiedot ja poistu
Oletusarvon mukaan rm ei poista kansioita. Kayta --recursive (-r tai
-R) -vaihtoehto poistaa myos kaikki luetellut kansiot ja kaikki sen
sisalto.
Tiedoston, jonka nimi alkaa merkilla "-", esim. "-foo", voi poistaa
seuraavilla komennoilla:
rm -- -foo
rm ./-foo
Huomaa, etta rm:lla poistetun tiedoston sisalto on usein mahdollista
palauttaa. Jos palauttaminen halutaan estaa, on suositeltavaa kayttaa
shred(1)-komentoa.
TEKIJA
Kirjoittaneet Paul Rubin, David MacKenzie, Richard M. Stallman ja Jim
Meyering.
VIRHEISTA ILMOITTAMINEN
GNU coreutils online help:
Ilmoita kaannosvirheista osoitteeseen
TEKIJANOIKEUDET
Copyright (C) 2023 Free Software Foundation, Inc. Lisenssi GPLv3+: GNU
GPL versio 3 tai myohempi .
Tama on vapaa ohjelmisto; sita saa vapaasti muuttaa ja levittaa
edelleen. Siina maarin kuin laki sallii, TAKUUTA EI OLE.
KATSO MYOS
unlink(1), unlink(2), chattr(1), shred(1)
Koko dokumentaatio:
tai saatavilla paikallisesti: info '(coreutils) rm invocation'
KAANNOS
Taman kasikirjan suomenkielisen kaannoksen tekivat Ville Karjalainen
Tama kaannos on ilmainen dokumentaatio; katso tekijanoikeusehdot GNU
General Public License -versiosta 3
tai uudemmasta. Emme ota
vastuuta.
GNU coreutils 9.4 Tammikuuta 2024 RM(1)