Suggestion: Download CSV to prompt for filename - Site Help, Tips & Tricks - Eat Your Books

Forum

Welcome Guest! You can not login or register.

Notification

Icon
Error

Suggestion: Download CSV to prompt for filename   Go to last post Go to last unread
#1 Posted : Saturday, February 18, 2023 10:09:26 AM(UTC)

"Download CSV" for books, recipes, etc is a wonderful feature but it would be even better if the name of file downloaded could be specified. At the moment if I get a series of files called Recipes.csv, Recipes(1).csv, Recipes(2).csv, osv, for example. I have to look at the content to see that these contain a list of recipes for "Bourbon Biscuits", "Semla", "Semlor", osv. Over time a download directory could be full of similarly named files which is no help at all.


The name of the downloaded file could be based on the search terms used to collate the list. If the user does not enter any search criteria they could be prompted for a meaningful name.

#2 Posted : Saturday, February 18, 2023 4:00:50 PM(UTC)

If you rename the file as soon as you download it then it would be simple file management. Also maybe set up a Recipes folder and move each file there after you rename it.

#3 Posted : Saturday, February 18, 2023 8:29:01 PM(UTC)

I am notorious for screwing up file management aka "renaming files" especially in the heat of the moment and even more so when frustrated by having already typed the intended filename as some search criteria. And even more even more so when I want to create several such files in quick succession. I would rather spend time writing a bash script to extract the first data line of the CSV file and use that to rename the file than I would spend on renaming files; for example having Recipes(1).csv automatically renamed to Cornish pasties or hand pies.csv thangive any time to retyping the criteria that created the file. Or developing a perl program using the add_worksheet method from cpan's Spreadsheet::WriteExcel module to set the work sheet's name to whatever is in that first data line as the CSV is inserted in to an Excel file.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.