Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 79196 Details for
Bug 122080
sys-fs/squashfs-tools - new switch for mksquashfs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Example script.
backup-etc.sh (text/plain), 471 bytes, created by
Jérôme Poulin
on 2006-02-07 22:32:28 UTC
(
hide
)
Description:
Example script.
Filename:
MIME Type:
Creator:
Jérôme Poulin
Created:
2006-02-07 22:32:28 UTC
Size:
471 bytes
patch
obsolete
>#!/bin/bash -x > >cd /root/etc-bak >CURDATE=$(date +%Y-%m-%d@%H:%M:%S) >find /etc -printf "%T@ %p %s %u:%g %m\n" > ${CURDATE}.new >if [ -e lastdate.diff ]; then > diff -q $(cat lastdate.diff) ${CURDATE}.new > /dev/null > UPSQFS=$? > rm -f *.diff >fi > >mv ${CURDATE}.new ${CURDATE}.diff >echo ${CURDATE}.diff > lastdate.diff >rm -f *.new > >if [ $UPSQFS -ne 0 ]; then > mksquashfs /etc etc-$(date +%Y-%m-%d).sqfs -keep-as-directory -append-suffix "_$(date +%H:%M:%S)" > /dev/null >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 122080
:
79195
| 79196