[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add dry-run option to mv
From: |
L A Walsh |
Subject: |
Re: Add dry-run option to mv |
Date: |
Wed, 10 Mar 2021 20:16:09 -0800 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
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.