coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add dry-run option to mv


From: Emilio Garcia
Subject: Re: Add dry-run option to mv
Date: Thu, 11 Mar 2021 12:24:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

   Thanks guys,

   But yeah I was expecting something like what Kaz Kylheku said.

   Cheers!

   Emilio Garcia Quintana
   [1]emilio.garcia@ieec.cat
   Software Engineer
   Tel: [2]+34 93 737 97 88
   Ext: [3]933002

   Campus UAB, Carrer de Can Magrans, s/n
   08193 Cerdanyola del Vallés
   [4]IEEC logo

   Institute of Space Studies of Catalonia (IEEC)
   [5]http://www.ieec.cat

   On 3/11/21 5:16 AM, L A Walsh wrote:

     On 2021/03/10 19:15, Kaz Kylheku (Coreutils) wrote:

     Me too; but that doesn't validate the arguments like Emilio wants.
     E.g.
        mv --dry-run existing-file nonexistent-dir/  # error
        mv --dry-run nonexistent-object somewhere # error
        mv --dry-run object /another/filesystem # diagnostic

     ---
         True, it puts the onus of validation in the script,
     under control of the user rather than on the various individual
     programs that the user wants changed.

References

   1. mailto:emilio.garcia@ieec.cat
   2. tel:0034937379788
   3. tel:933002
   4. http://www.ieec.cat/
   5. http://www.ieec.cat/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]