Mi chiedevo se qualcuno sa come modificare in modo ricorsivo i timestamp delle cartelle in base all'ultimo timestamp trovato dei file in quella cartella.
Quindi per esempio:
jon @ UbuntuPanther: / media / media / MP3s / Foo Fighters / (1997-05-20) The Color and The Shape $ ls -alF totale 55220 drwxr-xr-x 2 jon jon 4096 2010-08-30 12:34 ./ drwxr-xr-x 11 jon jon 4096 2010-08-30 12:34 ../ -rw-r - r-- 1 jon jon 1694044 2010-04-18 00:51 Foo Fighters - Doll.mp3 -rw-r - r-- 1 jon jon 3151170 2010-04-18 00:51 Foo Fighters - Enough Space.mp3 -rw-r - r-- 1 jon jon 5004289 18-04-2010 00:52 Foo Fighters - Everlong.mp3 -rw-r - r-- 1 jon jon 5803125 18-04-2010 00:51 Foo Fighters - February Stars.mp3 -rw-r - r-- 1 jon jon 4994903 18-04-2010 00:51 Foo Fighters - Ehi, Johnny Park! .mp3 -rw-r - r-- 1 jon jon 4649556 18-04-2010 00:52 Foo Fighters - Monkey Wrench.mp3 -rw-r - r-- 1 jon jon 5216923 2010-04-18 00:51 Foo Fighters - My Hero.mp3 -rw-r - r-- 1 jon jon 4294291 18-04-2010 00:52 Foo Fighters - My Poor Brain.mp3 -rw-r - r-- 1 jon jon 6778011 18-04-2010 00:52 Foo Fighters - New Way Home.mp3 -rw-r - r-- 1 jon jon 2956287 18-04-2010 00:51 Foo Fighters - See You.mp3 -rw-r - r-- 1 jon jon 2730072 2010-04-18 00:51 Foo Fighters - Up in Arms.mp3 -rw-r - r-- 1 jon jon 6086821 2010-04-18 00:51 Foo Fighters - Walking After You.mp3 -rw-r - r-- 1 jon jon 3033660 2010-04-18 00:52 Foo Fighters - Wind Up.mp3
La cartella "(1997-05-20) The Color and The Shape" avrebbe il timestamp impostato su 18-04-2010 00:52.