for loop for saving attachments
This commit is contained in:
@@ -22,5 +22,5 @@ $organizations = $(convertfrom-json $(bw list organizations))
|
||||
# I shouldn't need portwarden anymore since I will just use bw and loop through the items with attachments
|
||||
|
||||
# (convertfrom-json $(bw list items)) | where attachments
|
||||
# foreach { }
|
||||
# $itemsWithAttachments | % { $folder=$_.name; $itemID=$_.id; $_.attachments | % { bw get attachment $_.id --itemid $itemID --output "C:\Users\jgaunt\3D Objects\Bitwarden\$folder\$_.fileName" } }
|
||||
# bw get attachment $attachmentID --itemid $itemID --output $file
|
||||
Reference in New Issue
Block a user