print list of files in unassigned folder unraid
To generate and print a list of files from an unassigned drive in Unraid, follow these streamlined steps:
1. Install the Unassigned Devices Plugin
This plugin is essential for accessing unassigned drives.
- Open the Plugins tab in the Unraid web interface.
- Search for and install the Unassigned Devices plugin.
2. Mount the Unassigned Drive
Make the drive accessible through Unraid.
- Go to the Main tab.
- Find your unassigned drive in the Unassigned Devices section.
- Click Mount to make the drive available.
3. Access the Terminal
You’ll use the terminal to generate the file list.
- Click the Terminal icon in the top-right corner of the Unraid web interface.
- Alternatively, connect to the server using an SSH client.
4. Generate the File List
List the files and save the output as a text file.
- In the terminal, type:
ls -R /mnt/disks/[DriveName] > /boot/unassigned-file-list.txt
Replace[DriveName]
with the name of your mounted drive. - This command creates a recursive list of all files on the drive and saves it to the
/boot
directory.
5. Download the File List
Retrieve the saved file list from the server.
- In the Unraid web interface, navigate to the Shares tab.
- Open the
flash
share, which corresponds to the/boot
directory. - Download the
unassigned-file-list.txt
file to your local system.
6. Print the File List
Use any text editor to open and print the file.
- Open the
unassigned-file-list.txt
file in a text editor like Notepad or VS Code. - Use the print function of the editor to print the file list.
By following these steps, you can efficiently generate, save, and print a detailed file list from an unassigned drive in Unraid.
Post Comment