Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] mv and cpio have new behavior. How do I get the old back?
  • From: Boyd Lynn Gerber <gerberb@xxxxxxxxx>
  • Date: Tue, 25 Mar 2008 12:17:10 -0600
  • Message-id: <Pine.LNX.4.64.0803251214350.26263@xxxxxxxxxxxxxxx>
On Tue, 25 Mar 2008, Jan Ritzerfeld wrote:
Am Dienstag, 25. März 2008 schrieb Boyd Lynn Gerber:
[...]
I am on openSUSE 10.3 and I really hate the current behavior. On 10.0
I could do a mv and it retained the orignal date/time. Now moving the
directory changes times. [...]

I cannot reproduce this using 10.3 and ext3:
jan@karl:~/tmp> l
insgesamt 1724
drwx------ 3 jan users 4096 16. Feb 14:09 ./
drwxr-xr-x 49 jan users 4096 25. Mär 18:33 ../
drwxr-xr-x 12 jan users 4096 16. Feb 14:07 diplomarbeiten/
[...]
jan@karl:~/tmp> mv -i diplomarbeiten da
jan@karl:~/tmp> l
insgesamt 1724
drwx------ 3 jan users 4096 25. Mär 19:00 ./
drwxr-xr-x 49 jan users 4096 25. Mär 18:33 ../
drwxr-xr-x 12 jan users 4096 16. Feb 14:07 da/
[...]

try something like...

mkdir .org
mv da .org/

or

mv da .org/da

The times in the .org/da will change to the current date/time.

or

mkdir /home/test
mv da /home/test/

or

mv da /home/test/da

The times change.

--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups