I have a TS677 and a TS432.
I love them both, but primarily the 677 and primarily use my TS677 as a large volume media server and archive.
I need a way to quickly and easily generate folder lists; or folder lists and file lists; ; ideally some sort of txt delimited or CSV file. I know this can be done via scripting, but given how tightly I have locked down my units that's a pain to for me to have to do every time I want to generate a list..
I am hoping for a feature in one of the apps to do this, but in the meantime if anyone has a script or workaround to share it would be greatly appreciated.
Simple folder list generator
- dolbyman
- Guru
- Posts: 35276
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Simple folder list generator
if you have the share in question mounted on windows .. just open a command prompt, navigate to the folder and do
or
Code: Select all
dir /B /S > Listed_Folders.txt
Code: Select all
dir /A:D /B >Listed_Folders_and_Files.txt
-
- Starting out
- Posts: 18
- Joined: Mon Jan 07, 2019 12:34 pm
Re: Simple folder list generator
Thanks; I have done that and used other methods to generate a list from within a client - but I was hoping to find a way to do it quick and easy on the NAS.
With how many files people generally store on a NAS, I think it would be a useful feature to have it as a right click context option in QFile or something like that: "Export File List." etc.
With how many files people generally store on a NAS, I think it would be a useful feature to have it as a right click context option in QFile or something like that: "Export File List." etc.
- dolbyman
- Guru
- Posts: 35276
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Simple folder list generator
you can do it on the NAS as well, just in linux terms
Navigate to the share in question and do
there is probably many more flags you can use..
The community can not add anything to QNAP apps (e.g. file station) and QNAP does not come here ..
Navigate to the share in question and do
Code: Select all
ls -d > directory_names.txt
Code: Select all
ls -r > directories_and filenames.txt
The community can not add anything to QNAP apps (e.g. file station) and QNAP does not come here ..
- Moogle Stiltzkin
- Guru
- Posts: 11445
- Joined: Thu Dec 04, 2008 12:21 am
- Location: Around the world....
- Contact:
Re: Simple folder list generator
or if ur a windows user like me u can run an app that generates these types of lists
https://www.raymond.cc/blog/print-all-f ... r-printer/
https://www.raymond.cc/blog/print-all-f ... r-printer/
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1
Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)
Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1
Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)
Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin