wok annotate slitaz-loram/stuff/loram.extract @ rev 370
Slitaz-loram*: more flexible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 08 11:30:12 2008 +0000 (2008-03-08) |
parents | |
children | 5b4e22afe799 |
rev | line source |
---|---|
pascal@370 | 1 cromfs=".usr.cromfs" |
pascal@370 | 2 rmdir usr |
pascal@370 | 3 bin/unmkcromfs $cromfs usr |
pascal@370 | 4 rm -f $cromfs |
pascal@370 | 5 ( cd usr/.moved ; find * -print ) | \ |
pascal@370 | 6 while read file; do |
pascal@370 | 7 [ -L "$file" ] || continue |
pascal@370 | 8 rm -f "$file" |
pascal@370 | 9 mv "usr/.moved/$file" "$file" |
pascal@370 | 10 done |
pascal@370 | 11 rm -rf usr/.moved |