This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/ruby | |
############################################################################# | |
# svnロック取得者表示スクリプト | |
# chklock.rb | |
# | |
# 制限事項: | |
# (1)デフォルトではカレント以下のファイルに対してのlock情報を表示する | |
# 指定ディレクトリ以下の情報を表示したい場合は TARGET_PATH を編集すること | |
############################################################################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
########################################################################## | |
# 以下のコマンドで inotify-tools をインストールしてください | |
# $ sudo apt-get install inotify-tools | |
# or | |
# yum install inotify-tools | |
# | |
# Growl へ通知する場合は以下をインストールしてください | |
# $ sudo apt-get install rubygems1.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Usage | |
# ./auto_repo_init_and_sync.sh version | |
if [ $# -eq 0 ] | |
then | |
echo "type version" | |
exit | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOST=対象ホスト名(IPアドレス) | |
USER=ログインユーザ | |
PASS=パスワード | |
TARGET_DIR=バックアップディレクトリ(ファイル) | |
BACKUP_DIR=保存先ディレクトリ | |
expect -c " | |
set timeout -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################### | |
# Usage: | |
# | |
# ruby hoge.rb | |
###################################################### | |
require "yaml" | |
require "pp" | |
def main | |
# if ARGV.size == 0 |