Random File Picker
Random File Picker is an Alfred workflow.
It adds a file action called Pick random files to Alfred. The file action allows the user to enter a number, then it picks that exact number of files randomly from the chosen folder. It then copies that random set of files to a chosen destination folder.
- Current version: v0.1
Random File Picker has the following requirements:
Alfred 3.5 or newer (including the Alfred Powerpack) by Andrew and Vero Pepperrell of Running with Crayons Ltd.
macOS 10.12 Sierra or newer
This workflow lets the user choose a number of files per file type, for example:
- PNG file × 50
- MPEG-4 file × 3
It also allows the user to pick a destination folder, for example
~/Downloads. This specifies the location where the random set of files will be copied.
For each selected file type, the workflow then picks the specified number of random files (per file type) and copies those files to the chosen destination folder.
- Open Alfred and type
- Press the right arrow key (
→), or whatever key you have configured to invoke Alfred’s list of file actions.
- Choose the file action Pick random files.
- Choose one or more file types and specify the quantities.
- Choose a destination folder.
- Hit Submit and copy random files.
Random File Picker depends on (and could not been have made without):
alfred2-ruby-framework by Zhao Cai, and
of course, Alfred by Andrew and Vero Pepperrell of Running with Crayons Ltd.
Random File Picker is in no way affiliated with, nor has it any connection to, nor is it endorsed by, Andrew and Vero Pepperrell or their company Running with Crayons Ltd., or Zhao Cai.
Copyright (c) 2018 Claudia email@example.com
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.