Sha256: ac6a41f15cbeded24374e2e0fa2e333c47b63c22ad93e6ce0f64d92fab27ddc0

Contents?: true

Size: 179 Bytes

Versions: 9

Compression:

Stored size: 179 Bytes

Contents

module OdaniaOps
	module Helper
		class Backup
			def space_used(user, host)
				result = `echo "df -h" | sftp -b - #{user}@#{host}`
				puts result.inspect
			end
		end
	end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
odania_ops-0.0.14 lib/odania_ops/helper/backup.rb
odania_ops-0.0.13 lib/odania_ops/helper/backup.rb
odania_ops-0.0.12 lib/odania_ops/helper/backup.rb
odania_ops-0.0.11 lib/odania_ops/helper/backup.rb
odania_ops-0.0.10 lib/odania_ops/helper/backup.rb
odania_ops-0.0.9 lib/odania_ops/helper/backup.rb
odania_ops-0.0.8 lib/odania_ops/helper/backup.rb
odania_ops-0.0.7 lib/odania_ops/helper/backup.rb
odania_ops-0.0.6 lib/odania_ops/helper/backup.rb