Sujet : Re: Long filenames in DOS/Windows and Unix/Linux
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.unix.programmerDate : 04. Sep 2024, 00:10:42
Autres entêtes
Organisation : None to speak of
Message-ID : <87o7541ggd.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Gnus/5.13 (Gnus v5.13)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Tue, 03 Sep 2024 15:16:36 -0700, Keith Thompson wrote:
For example, I might type something like:
for file in * ; do cp -p $file $file.bak ; done
>
It’s quite easy to fix that to work with spaces in file names.
I wouldn't call it "quite easy". Certainly it can be done, and I do it
when I need to. My point is that there is an advantage in being able to
avoid the extra effort when I know it's not needed.
How would you do it?
How long
have you been working with *nix shells?
A long time. I might consider being more specific later.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */