文件操作 - eyaml
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/vendor_gems/bin/eyaml
编辑文件内容
#!/opt/puppetlabs/puppet/bin/ruby # # This file was generated by RubyGems. # # The application 'hiera-eyaml' is installed as part of a gem, and # this file is here to facilitate running it. # require 'rubygems' Gem.use_gemdeps version = ">= 0.a" str = ARGV.first if str str = str.b[/\A_(.*)_\z/, 1] if str and Gem::Version.correct?(str) version = str ARGV.shift end end if Gem.respond_to?(:activate_bin_path) load Gem.activate_bin_path('hiera-eyaml', 'eyaml', version) else gem "hiera-eyaml", version load Gem.bin_path("hiera-eyaml", "eyaml", version) end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件