9/9/2023 0 Comments Onedrive download scriptHere’s the formula: substring(outputs('Remove_the_first_"'),0,indexOf(outputs('Remove_the_first_"'),'"'))Īs you can see, we’ll use the output of the previous action. To do that, we’ll use the same strategy but starting from zero until the next quote. We want to fetch the first instance of the first quote and get the string after that since we don’t want to include the quote we need to add one to the position to ignore it. Substring function to get the string that we need.Add function to increase the position by one.indexOf function to find the first occurrence of the quote.If file exists locally, it will compare hashes & retry file or continue with the rest. item function to get the current item in the ”Apply to Each” action My script doesn't require any auth, just the 1drv.ms share link and it'll download files individually using wget & compare SHA1 hashsums after download.Here’s the formula: substring(item(),add(indexOf(item(),'"'),1)) /rebates/&252fonedrive-download-script. First, we remove the beginning of the tag.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |