Basically no one came to the park today because of the weather, so perfect time for a project on content that’s normally widely used by staff during the day. Standardizing the file naming on our 12,000+ item historic photos collection, in preparation of finally ingesting into DSpace πŸ’«

Follow

@elizabeengland πŸ™Œ wooooo! Also I absolutely have a file named renameFiles.py πŸ˜„ in fact, ... It looks very much the same

Β· Β· Web Β· 0 Β· 0 Β· 2

@elizabeengland Is yours pretty much just set up to work with whatever kind of filename listing you give it with two columns, etc?

@platypus yeah, exactly. Used an earlier script to extract the file names, write them to csv & create a second column that prepends the collection #, keeps the item ids, and removes the semantic description. Then put that csv into renameFiles.py

@elizabeengland that’s awesome. I would use various methods like an ls -1 in bash followed by a regex in a text editor to create the second column or all kinds of wildness

@platypus that's my natural inclination too (OpenRefine forever and always!) but I have a patient colleague who is helping me see how I can get the same end results through Python, which this data just happened to lend itself well to because it followed only one consistent pattern

Sign in to participate in the conversation
glammr.us Mastodon

glammr.us is a space for folks interested in productive conversation about, well, galleries, libraries, archives, museums, memory work and records. It is pronounce β€œglamorous” as our work are often charmingly or fascinatingly attractive, especially in a mysterious or magical way. Sometimes it is also full of excitement, adventure, and unusual activity (oh, yes). It is also inspired by Toys’R’us to showcase the fun playful side of glammr.us tooters. But you don't necessarily have to only post about GLAMMR-related topics, bring your whole self. Talk about fun things you saw, your exciting day or even your struggles. Many of us are Twitter refugees looking for an inclusive and community supported approach to social media. If any of these things sound good to you, consider joining us by contributing as little as a $1 a month on our patreon to help keep our server online. Take a look at our code of conduct.