rm `ls *.log | grep -vE "aaa\.log|bbb\.log"`
import requests from requests.auth import AuthBase class TokenAuth(AuthBase): def __init__…
#!/bin/sh #============ get the file name =========== Folder_A="/mnt/log/" #这是我log存放的地方 #O…
@ECHO OFF :RETRY SET /P PASSWD=(TEST: 1, FLASH: 2, EXIT: 0) IF /I "%PASSWD%"=="0" GOTO EXI…
retry() { if [ $# != 2 -a $# != 3 ]; then echo "Useage: $0 cmd try-times [delay-seconds=60…
#!/bin/env bash ##########################################################################…
param ( $theArray = @() ) $global:counter = 0 # Swaps the array values at indexes $x and $…
$fileList = Get-ChildItem 'D:\Services\' -recurse *.config | %{$_.FullName} Foreach($file …
#!/usr/bin/expect set password yanfa set host 10.8.210.5 spawn scp index.html yanfa@$host:…
#!/usr/bin/expect ########################################################################…
# !/bin/bash PATH_MYSQLDUMP="D:/wamp/bin/mysql/mysql5.5.24/bin/mysqldump"; # 判断文件是否存在 if […
@echo on @rem 删除SVN版本控制目录 @for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn"…
shell脚本操作oracle表空间的导出,用户的删除,表空间删除,用户新建,表空间新建,数据导入