This is not strange behavior - space is command line argument separator in shells.
Escape (precede) the space with backslash \ OR quote the file name with the space inside "file name" or 'file name'. -T On Tue, 2021-02-09 at 09:25 -0800, Rich Shepard wrote: > I found where OBS studio puts the logs (~/.config/obs-studio/logs/) > where > they are listed with a space between the date and the time. When I > try to mv > the spacey one to one without spaces I cannot: > $ mv 2021-02-09 06-56-46.txt 2021-02-09-06-56-46.txt > mv: target '2021-02-09-06-56-46.txt' is not a directory > > Same thing happens with cp, if I try to move the destination file to > ~/, and > if I use the -T option. But, when I display the file in emacs and > save it > without spaces it does so. > > Has anyone seen this before? I haven't! > > Rich > _______________________________________________ > PLUG: https://pdxlinux.org > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug _______________________________________________ PLUG: https://pdxlinux.org PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
