Bat or PowerShell file to transfer N random files.
Structure of the papacks
E:\folder\ Subfolder1 File1 File2 ... fileNNNN Subfolder2 File1 File2 ... fileNNNN Subfolder3 File1 File2 ... fileNNNN Subfolder4 Subfolder5 Subfolder6 ...... SubfolderNNN You need to transfer one random file from each folder to the folder E:\NEWfolder\ but not more than N pieces. If the Subfolder is more than N then select the N folder randomly and transfer from them to one random file.
that is. If N=50 and the number of Subfolder 78, then of these 78 randomly select 50 folder, from each folder randomly select 1 file and move to NEWfolder. Therefore, 50 files should appear in the NEWfolder.
If N=50 and the number of Subfolder 38, then of these 38 choose randomly select 1 file and move to NEWfolder. Therefore, 38 files should appear in NEWfolder.
If there are no files in the Subfolder, delete the Subfolder.
Client's review of cooperation with freelancer
Bat or PowerShell file to transfer N random files.I ordered a small script, the work was done quality and in time. Small inaccuracies are quickly eliminated.
Current freelance projects in the category Desktop Apps
Account reconciliation tool with the bank, cards, and accountantTechnical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to… Python, Desktop Apps ∙ 6 hours 32 minutes back ∙ 20 proposals |
Add pauses of 10-30 seconds between sending emails.Hello! I am looking for an experienced 1C / BAS (BAF) programmer to promptly resolve a technical issue with email distribution.Problem essence: We use the accounting program BAF (Business Automation Framework), version 2.0. Once a month, there is a need to send about 300 emails… Web Programming, Desktop Apps ∙ 5 days 22 hours back ∙ 10 proposals |
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 6 days 9 hours back ∙ 6 proposals |
Modification in the emulator's operation
45 USD
Hello. I downloaded the Gaminator CF Final slot machine emulator from the Internet. I really liked it, but there are some issues. There is an admin panel, but it opens freely and cannot be closed at all. It only closes along with the application. Also, the data does not save… Desktop Apps ∙ 13 days 23 hours back ∙ 10 proposals |