JYC333 / obsidian-attachment-name-formatting

Obsidian plugin that automatically rename attachment files' name
MIT License
45 stars 6 forks source link

Feature Request: Docs, e-mail and other categories #26

Closed spiritualgeek closed 10 months ago

spiritualgeek commented 1 year ago

Hi

This looks like a useful plugin, but presently it's only useful for the odd image

I would, really, appreciate it if the following categories could be introduced:

Documents - with the following file extensions (and any others you can think of)

.doc, .docm, .docx , .docx , .dot, .dotm, .dotx, .odt, .rtf, .txt, .wps, .xps, xls, xlsx, xlsm, xltm, xlsb, xltx, ods, .numbers, .xl, .pages, .tex, .mpp, csv, ppt, pptx, pdf, dwg, dxf, xlthtml, .xlsmhtml, .xlshtml, .pptmhtml, .ppthtml, .dothtml, .docmhtml, .dochtml

E-mail - with the following file extensions (and any others you can think of)

.eml, .msg

Logs and Traces - with the following file extensions (and any others you can think of)

.log, .cap, .pcap

Diagrams - with the following file extensions (and any others you can think of)

.vsdx, .vsd, .adp, .sdr, .cvx, .graffle, .notebook, .vdx, .cddz, .vss, .igs, .rtd, .opx, .vst, .ink, .mmap, .flo, .nmind, .brd, .dm2, .vsx, .vtx, .itm, .flo, .rise, .mgcb, .xmmap, .mp, .dia, .xmi, .vpp, .wdp, .igx, .edg, .ygf, .xmind, .gdraw, .czd, .vstx, .vssx, .vstm, .vssm, .pn, .sx, .edx, .edxz, .bpm, .bpmc, .pu, .plantuml, .simp, .cdml, .spl7, .de, .eddx, .nvp, .adf, .gxt, .anb, .cvxcad, .monopic, .monosnippet, .nsa, .bpmn, .mag, .jpd, .sda, .xlgc, .xbk, .ddt, .nbk, .spk, .mmat, .cdt, .tpl, .umlclass, .abc, .af3, .gtemplate, .mgtx, .cdsx, .scl, .far, .flw, .gliffy, .architect, .mmas, .drawio, .ccd, .cir, .ndb, .ndx, .ndtx, .nlx, .nlb, .esd, .fhc, .mmx, .art, .vpd, .mdeck, .xmdeck, .arh, .af2, .imd, .gpj, .mmms, .xmmas

Archive - with the following file extensions (and any others you can think of)

.7z, .cbr, .deb, .gz, .pak, .pkg, .rar, .rpm, .tar.gz, .xapk, .zip, .zipx

Web - with the following file extensions (and any others you can think of)

.htmlz, .zhtml, .xht, .dhtml, .htx, .hhk, .chm, .oth, .mhtml, .hhc, .mht

Code - with the following file extensions (and any others you can think of)

.appxbundle, .lgo, .in, .unity, .awk, .kv, .rbxl, .cs, .sb, .sb2, .ypr, .kt, .ipr, .appx, .ino, .sb3, .rbxm, .class, .pyd, .py, .cpp, .luc, .c, .gitattributes, .hs, .gs, .arsc, .vbp, .slogo, .ph, .mm, .tt, .am4, .xq, .has, .gch, .vcproj, .sc, .aidl, .lua, .md, .b, .xap, .pas, .asm, .cc, .pbg, .resx, .trx, .po, .resources, .java, .patch, .gm81, .swc, .config, .vdproj, .mf, .dex, .csproj, .res, .ocx, .res, .ise, .gmx, .gmk, .swift, .ymp, .smali, .hpp, .fs, .pwn, .qpr, .v12.suo, .def, .cod, .r, .sln, .yml, .appxupload, .cd, .y, .bbc, .fbp, .bet, .capx, .rb, .nk, .bluej, .pjx, .suo, .rul, .swd, .so, .aia, .xsd, .dtd, .mpx, .bpl, .ane, .xcdatamodeld, .nuspec, .entitlements, .lisp, .wdgt, .pbxbtree, .ssi, .xamlx, .ccs, .ctp, .dgml, .pyw, .agi, .s, .ml, .au3, .mk, .xt, .dox, .proto, .targets, .pb, .ipr, .pl, .s19, .ex, .vcxproj, .d, .vb, .o, .pbj, .hbs, .rpy, .fxml, .v, .h, .tk, .w32, .idb, .myapp, .as3proj, .rexx, .w, .l, .scc, .ap_, .fpm, .twig, .apa, .asc, .4db, .cxp, .yaml, .xaml, .ads, .sc, .msix, .asi, .gsproj, .jspf, .gm6, .ftl, .pbxuser, .csx, .ipch, .ui, .testsettings, .jsfl, .bas, .tlh, .rdlc, .tpu, .csp, .fxc, .dcp, .f, .abc, .mo, .pas, .nupkg, .mrt, .cbp, .livecode, .i, .as, .am7, .f90, .cp, .cls, .mak, .sud, .framework, .vbx, .hh, .pbxproj, .storyboard, .kdevprj, .xcworkspace, .idl, .dmd, .kdevelop, .plc, .gld, .iml, .vm, .svn-base, .cu, .v, .diff, .inc, .markdown, .vhd, .gitignore, .m, .wiq, .as2proj, .pika, .jic, .autoplay, .hal, .vbg, .sma, .alb, .rsrc, .ism, .dpr, .nib, .asm, .bdsproj, .prg, .pbk, .tur, .fsscript, .am6, .iconset, .pro, .ist, .wdp, .wdw, .wdl, .for, .ltb, .bsc, .mcp, .nvv, .lsproj, .sltng, .haml, .oca, .lds, .lnt, .df1, .wsc, .xpp, .dproj, .erl, .dsgm, .clw, .rbc, .m, .bb, .sas, .wsp, .nsi, .ilk, .dpl, .dbml, .cxx, .pri, .nbc, .octest, .omo, .xcconfig, .pl1, .pkgdef, .m4, .gem, .nls, .sup, .kpl, .playground, .vbproj, .uml, .pl, .mss, .owl, .xoml, .xojo_xml_project, .ctxt, .inl, .mshc, .msha, .sym, .v11.suo, .erb, .cdf, .hxx, .pcp, .mer, .pyx, .jpr, .cp, .pxd, .csi, .src, .a2w, .exp, .forth, .ccn, .dgsl, .pli, .rss, .vdp, .nw, .pm, .vsmacros, .edmx, .dm1, .wxl, .xojo_project, .t, .mv, .nsh, .asvf, .resw, .wxs, .ppc, .lbi, .dob, .ftn, .ptl, .mom, .cbl, .dec, .hpf, .vssscc, .psc, .acd, .caf, .ss, .a, .pot, .gszip, .wixout, .rnc, .iwb, .p3d, .gemspec, .rbp, .bs2, .wixobj, .wpw, .lbs, .wixlib, .dpkw, .wixmst, .src.rpm, .xcodeproj, .vspx, .jcp, .rav, .vbz, .fxl, .xcsnapshots, .xojo_binary_project, .wdgtproj, .scriptterminology, .pdm, .odl, .tcl, .pkgundef, .xojo_menu, .tld, .gorm, .eql, .xql, .rodl, .xcappdata, .mdzip, .tmlanguage, .textfactory, .bbproject, .cvsrc, .vdm, .lxsproj, .clips, .xqm, .ned, .fbz7, .vsps, .addin, .refresh, .rise, .ged, .fxcproj, .testrunconfig, .resjson, .mshi, .bcp, .am5, .lucidsnippet, .gs3, .ccp, .cob, .iws, .tli, .vspscc, .ple, .dbproj, .pri, .vsz, .vtm, .gmo, .fsproj, .gameproj, .licx, .rex, .dcuil, .tns, .vc, .pch, .ent, .spec, .c, .brx, .xcarchive, .lproj, .idt, .dba, .licenses, .greenfoot, .ctl, .4th, .fsproj, .dsp, .xib, .edml, .vgc, .p, .tds, .mod, .bbprojectd, .csn, .vtv, .aps, .r, .dpk, .msp, .mpr, .fxpl, .bpg, .groupproj, .inform, .vsmdi, .sdef, .vsmproj, .rbw, .sqlproj, .prg, .fsx, .vtml, .gfar, .dbo, .tu, .dcproj, .psm1, .pde, .lhs, .cfc, .wixproj, .pod, .vsp, .dcu, .rkt, .exw, .dfm, .csi, .msl, .ncb, .vcp, .dba, .fsi, .xquery, .sbproj, .nqc, .magik, .groovy, .wixmsp, .lit, .wixpdb, .scriptsuite, .ssc, .wxi, .dbpro, .artproj, .ccgame, .jpx, .deviceids, .gmd, .r

Other

Extensions you do not cater for go into an Other "bucket"

Thanks

PS: The first 2 categories are most important (Documents and e-mail)

JYC333 commented 1 year ago

Hi,

Thanks for using this plugin. But I think this is too much for this plugin and a bit hard to maintain. The plan is only support the extension that can be recognized by Obsidian itself.

Maybe I will add them when I have time.

spiritualgeek commented 10 months ago

Have found an alternative, and I'm no longer using the plugin. Feature request therefore closed