Deutsch   English   Français   Italiano  
<tcecgi$16o$4@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.os.unix
Subject: Re: =?ISO-8859-1?Q?d=E9placer?= / renommer
Supersedes: <tcecfb$16o$3@shakotay.alphanet.ch>
Date: Wed, 3 Aug 2022 17:50:10 -0000 (UTC)
Organization: Posted through news.alphanet.ch
Message-ID: <tcecgi$16o$4@shakotay.alphanet.ch>
References: <62ea9ad9$0$9159$426a34cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 3 Aug 2022 17:50:10 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer";
	logging-data="1240"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-21-amd64 (x86_64))
Cancel-Key: sha256:7YyyI4RZO7m0Mn2BhIcZZewjXCHC+46mcbEdRCeTCW8=
Cancel-Lock: sha256:CvoTElTvh0I7c8iA1SDthyWspDepXqRWMwCb/fSsbx4= sha256:enBY7TTlmeZf0F9YpdJuj9P4ltw3piza2Lb5wJ0mwcI=
Bytes: 1987
Lines: 24

Thomas <fantome.forums.tDeContes@free.fr.invalid> wrote:
> quand on fait ça on appelle ça "déplacer" (move) :
>    mv old-dir/name new-dir/
> 
> quand on fait ça on appelle ça "renommer" (rename) :
>    mv old-name new-name

et quand on fait ceci:

  mv chemin-1/fichier chemin-2/fichier

avec chemin-[12] sur des systèmes de fichiers différents, on appelle
cela copier (*), et ce n'est pas atomique (contrairement au mv sur le
même fs, que cela soit un déplacement ou un renommage).

> y a-t-il une manière concise et appropriée de designer cette opération ?
> mv old-dir/old-name new-dir/new-name

Euh, déplacer, renommer ou copier? :)

Globalement c'est une opération de renommage mais du chemin complet.
Une modification, donc, de comment on adresse le fichier.  Un changement
d'adresse?

(*) et supprimer l'original.