Function Grep { $input | out-string -stream | select-string $args }
Function Prompt { (Get-Host).UI.RawUI.WindowTitle="PS $(Get-Location)"; "[PS->] " }
Стало ЗБС : ))
Function Grep { $input | out-string -stream | select-string $args }
Function Prompt { (Get-Host).UI.RawUI.WindowTitle="PS $(Get-Location)"; "[PS->] " }
cat /home/backup/bin/backup-data.sh
—
#!/bin/sh
tar -cvzp -T /home/backup/bin/backup.lst -f /home/backup/data/`date +%y%m%d_%H%M`-`hostname`-cfg.tgz
find /home/backup/data/ -mtime +30 -delete
cat /home/backup/bin/backup.lst
—
/etc/RCS/
/etc/resolv.conf
...