我一直在研究使用 PowerShell 提取 EXIF 数据的各种方法,但到目前为止我发现它相当复杂。一些在这里和这里。
我正在寻找一种(相对)简单的方法来使用 powershell 提取基本 EXIF 数据,以便我可以在本机使用它。
特别是,我对“拍摄日期”属性特别感兴趣,并且我正在尝试找到一种可以通过Get-Date运行该属性的方法,并根据自己的需要自定义格式。就像是:
$exifdatetaken = $mypicture.'Date taken' | Get-Date -Format yyyyMMdd-HHmmss
Run Code Online (Sandbox Code Playgroud)
有谁知道是否有办法在 PowerShell 中本地执行此操作?
我一直在经历一个令人烦恼的问题,我无法绕过.
我正在尝试vagrant up在这种环境中使用centos7系统:
我的Vagrantfile的内容:
Vagrant.configure("2") do |config|
#config.vm.box = "serveit/centos-7"
config.vm.box = "bluefedora/hyperv-alpha-centos7"
config.ssh.private_key_path = "~/.vagrant.d/insecure_private_key"
config.ssh.forward_agent = true
end
Run Code Online (Sandbox Code Playgroud)
我在做一个时遇到这个错误vagrant up:
PS C:\Programs\vagrant_stuff\centos7> vagrant up
Bringing machine 'default' up with 'hyperv' provider...
==> default: Verifying Hyper-V is enabled...
==> default: Importing a Hyper-V instance
default: Cloning virtual hard drive...
default: Creating and registering the VM...
default: Successfully imported a VM with name: vagrantbox
==> default: Starting the machine...
==> default: …Run Code Online (Sandbox Code Playgroud)