because people who know just use the terminal. after the initial learning curve it's quicker and more flexible than GUI. If you have to do the same one more than once, you just write it to a script.
sounds extremely convoluted
for instance, even in op pic, how would you write that in a python script without it taking much longer to just throw it in here, adjust, and press a button?
>trivial
i'd be done by the time you finished writing that
you're telling me that you have to write entirely new scripts for each individual job?
again, that just seems convoluted, anytime i have a unique renaming job to do i have to write an entirely different script with an entirely different set of syntax
It's not as hard as you make it out to be. Many people are very fluent in shell programming. ... And I'm not against using GUIs, but for file renaming, CLI is in its element.
wdired-mode?
I've used this for bulk renames, and it's another good way of doing it.
>shell programming
or whatever language they prefer, but the point stands. A lot of people can program, and looping through filenames to rename them is a very basic task.
i never said it was hard i said it was convoluted, meaning it just seems like extra shit to do when i can simply do it faster in a GUI
i agree that some things are far more intuitive in the CLI as FFMPEG is and VIM as i mentioned before but i'm still not entirely convinced that file-renaming is better in the CLI considering that AR even has file previews so you can see what the output is before you even execute it which you don't get as you're writing the script
i've included a simple renaming project i had to do on about two-hundred vr porn videos i downloaded, it was simple; i just need the name and then the append a piece of text that tells SkyboxVR how to display the video
i finished in about 20 seconds
unless you're an extremely fast typer, i can't see how this could've been done in less time
3 weeks ago
Anonymous
well, you've got a finished GUI program with little flexibility. If I said I have a finished script (with infinite extensibility if there's a need) we'd be on even grounds no?
3 weeks ago
Anonymous
>little flexibility
what can it not do which i will need?
Why in python?
Ant Renamer is also a console program
someone mentioned python here so that's why i said it but i really meant anything you can use such as shell or python if you wish
Transnomino for Mac is better.
don't have a mac
for file in *; do
if [ -f "$file" ]; then
new_name="${file:0:3}_180_lr.mp4"
if [ -e "$new_name" ]; then
echo "Error: '$new_name' already exists. Rename failed for '$file'."
else
mv "$file" "$new_name"
echo "Renamed '$file' to '$new_name'"
fi
fi
done
There are probably much shorter ways to do this, like using the rename command but idk how to do that. You could also use vim macros, maybe that would be faster.
that's cool and all but it's extremely prone to errors plus, this doesn't cover situations where i am not sure how exactly i would like to rename my files and would like a preview of what my changes would like if i did try renaming
3 weeks ago
Anonymous
for file in *; do
if [ -f "$file" ]; then
new_name="${file:0:3}_180_lr.mp4"
if [ -e "$new_name" ]; then
echo "Error: '$new_name' already exists. Rename failed for '$file'."
else
mv "$file" "$new_name"
echo "Renamed '$file' to '$new_name'"
fi
fi
done
There are probably much shorter ways to do this, like using the rename command but idk how to do that. You could also use vim macros, maybe that would be faster.
3 weeks ago
Anonymous
lol I use query-replace with Dired in Emacs for this
sometimes I even use multiple-cursors in Dired too to select 5-6 files and rename them
It takes maybe 5 minutes tops to hack that all together, and it uses a skill you already know. How much time does it take to learn how to use AntRenamer effectively, and how often do you use it that the time saved could be worth the time investment?
Remember: you don't learn Python for renaming files. You learn it for general purpose automation. It can do a lot more things than just what AntRenamer does, and it can likely handle some complex renaming tasks that AntRenamer might not be able to do.
i never said it was hard i said it was convoluted, meaning it just seems like extra shit to do when i can simply do it faster in a GUI
i agree that some things are far more intuitive in the CLI as FFMPEG is and VIM as i mentioned before but i'm still not entirely convinced that file-renaming is better in the CLI considering that AR even has file previews so you can see what the output is before you even execute it which you don't get as you're writing the script
i've included a simple renaming project i had to do on about two-hundred vr porn videos i downloaded, it was simple; i just need the name and then the append a piece of text that tells SkyboxVR how to display the video
i finished in about 20 seconds
unless you're an extremely fast typer, i can't see how this could've been done in less time
Why in python?
Ant Renamer is also a console program
[...]
> shills product like a shill > gets shit on by programmers that can write a script that's even better > NOOO NOT LIKE THAT!
like i said, how would you write a script for the things you get there, not to mention that there is no live preview of your result as there is in this GUI so it just sounds like a waste of time doing trial-and-error just because it looks cooler in a terminal
i can justify VIM as it's extremely intuitive but i'm definitely not on the boat of doing everything in the terminal and wasting my time just to look down on other people who value productivity
This functionality is built into Thunar and most other modern file managers for one, and if you have large directories to go through you'll be better off just scripting it with perl, or awk & sed, or something similar. If you're a total brainlet who needs a GUI and for some reason can't install Thunar, just use szyszka
i used those built-in renamers and they're extremely barebones and do not have the same functionality
maybe scripting would make sense if it's massive directories but i'm only talking about how a normal person would use it not in some large environment
for instance, in my example i needed to remove every character after the third character and append a string of text afterwards, then in another use-case it was entirely different
i don't really see how that would be viable if i would have to create a unique script each and every time i want to batch rename something in completely different ways
i'm not trying to avoid the CLI but the justification for using it has to be at least as good as VIM otherwise it's cool that it's possible through the CLI but redundant
>not to mention that there is no live preview of your result as there is in this GUI
Many terminal applications will have a dry-run/verbose option. Not exactly a live preview, but a preview nonetheless.
>i can justify VIM
If you like vim, there are tools to let you bulk rename files in it. Super handy and works great with macros.
This functionality is built into Thunar and most other modern file managers for one, and if you have large directories to go through you'll be better off just scripting it with perl, or awk & sed, or something similar. If you're a total brainlet who needs a GUI and for some reason can't install Thunar, just use szyszka
the year is 2023
a 1gb graphics card costs twenty dollars on ebay
graphics technology has improved to the point of realtime ray tracing >freetards be like: JUST USE DUH COMMAND LINE
I think it's pretty important. How does a zoomer move files between devices/disks, for example if one fills up?
How do they access/modify/delete files outside of the application that uses them? (They probably believe the files are stored in the app, like the photos app stores photos.)
What about modifying config files in folders read and used by applications?
How are they ever going to be computer literate if they don't know how to read/write to files and folders?
How does a zoomer find files on their computer if they can't remember the name and there's no specific keyword they can search within the file? Apparently first year cs students can't even find programs they wrote and saved.
Like say you're a zoomer and use one IDE and think all your code is "stored" there. But now you use another IDE and can't use it with your old code because you think they're actually stored in the IDE application itself and don't understand it's just inside a folder on your computer.
tried it once and it couldnt do something really basic. i think it was appending a number increasing in increments of 1 but not starting at 1. just not possible. or maybe it was something else, dont remember. but its shit either way.
i used that one too
i believe there was a specific reason that i can't remember right now but basically AntRenamer couldn't do what i needed so i had to use Advanced Renamer
same here, i don't often need to rename files and it just seems like a waste to spend days learning how to properly script it in a CLI when i could be learning things that i use on a daily basis instead
jesus fucking christ the lengths people will go to to avoid using a programming language (or even a simple DSL like regex) boggle my goddamned mind
>jesus fucking christ the lengths people will go to to use an ebin terminal (even for simple shit) just to look cool
sounds more like this
unlike other CLI programs that are actually useful, i still am not convinced that learning an entirely new language for something i do very rarely is the most productive use of my time
Pretty niche use case, I suppose. I also suspect people that might need such large renames mostly use the command line.
>niche
isn't this entire board niche?
No, we are tech support for LULZ/nel
>LULZ - Consumer Electronics
because people who know just use the terminal. after the initial learning curve it's quicker and more flexible than GUI. If you have to do the same one more than once, you just write it to a script.
sounds extremely convoluted
for instance, even in op pic, how would you write that in a python script without it taking much longer to just throw it in here, adjust, and press a button?
It's really trivial. OP pics settings might look like this in Python.
from pathlib import Path
from sys import argv
for a in [Path(x) for x in argv[1:] ]:
newname = a.parent.joinpath(a.name[2:] )
try:
if newname.exists():
raise FileExistsError(f'path {newname} exists')
a.rename(newname)
except BaseException as e:
print(f'could not rename {a}: {e}')
>trivial
i'd be done by the time you finished writing that
you're telling me that you have to write entirely new scripts for each individual job?
again, that just seems convoluted, anytime i have a unique renaming job to do i have to write an entirely different script with an entirely different set of syntax
It's not as hard as you make it out to be. Many people are very fluent in shell programming. ... And I'm not against using GUIs, but for file renaming, CLI is in its element.
I've used this for bulk renames, and it's another good way of doing it.
>shell programming
or whatever language they prefer, but the point stands. A lot of people can program, and looping through filenames to rename them is a very basic task.
i never said it was hard i said it was convoluted, meaning it just seems like extra shit to do when i can simply do it faster in a GUI
i agree that some things are far more intuitive in the CLI as FFMPEG is and VIM as i mentioned before but i'm still not entirely convinced that file-renaming is better in the CLI considering that AR even has file previews so you can see what the output is before you even execute it which you don't get as you're writing the script
i've included a simple renaming project i had to do on about two-hundred vr porn videos i downloaded, it was simple; i just need the name and then the append a piece of text that tells SkyboxVR how to display the video
i finished in about 20 seconds
unless you're an extremely fast typer, i can't see how this could've been done in less time
well, you've got a finished GUI program with little flexibility. If I said I have a finished script (with infinite extensibility if there's a need) we'd be on even grounds no?
>little flexibility
what can it not do which i will need?
someone mentioned python here so that's why i said it but i really meant anything you can use such as shell or python if you wish
don't have a mac
that's cool and all but it's extremely prone to errors plus, this doesn't cover situations where i am not sure how exactly i would like to rename my files and would like a preview of what my changes would like if i did try renaming
for file in *; do
if [ -f "$file" ]; then
new_name="${file:0:3}_180_lr.mp4"
if [ -e "$new_name" ]; then
echo "Error: '$new_name' already exists. Rename failed for '$file'."
else
mv "$file" "$new_name"
echo "Renamed '$file' to '$new_name'"
fi
fi
done
There are probably much shorter ways to do this, like using the rename command but idk how to do that. You could also use vim macros, maybe that would be faster.
lol I use query-replace with Dired in Emacs for this
sometimes I even use multiple-cursors in Dired too to select 5-6 files and rename them
NTA but I enjoy writing scripts, so I would probably do it, throw it in my github for later and pull it out when I need it.
It takes maybe 5 minutes tops to hack that all together, and it uses a skill you already know. How much time does it take to learn how to use AntRenamer effectively, and how often do you use it that the time saved could be worth the time investment?
Remember: you don't learn Python for renaming files. You learn it for general purpose automation. It can do a lot more things than just what AntRenamer does, and it can likely handle some complex renaming tasks that AntRenamer might not be able to do.
>it can likely handle some complex renaming tasks that AntRenamer might not be able to do
so then use Advanced Renamer
> shills product like a shill
> gets shit on by programmers that can write a script that's even better
> NOOO NOT LIKE THAT!
>programmers
Why in python?
Ant Renamer is also a console program
I wrote my own renaming program.
>he doesn't know about the rename command
like i said, how would you write a script for the things you get there, not to mention that there is no live preview of your result as there is in this GUI so it just sounds like a waste of time doing trial-and-error just because it looks cooler in a terminal
i can justify VIM as it's extremely intuitive but i'm definitely not on the boat of doing everything in the terminal and wasting my time just to look down on other people who value productivity
i used those built-in renamers and they're extremely barebones and do not have the same functionality
maybe scripting would make sense if it's massive directories but i'm only talking about how a normal person would use it not in some large environment
for instance, in my example i needed to remove every character after the third character and append a string of text afterwards, then in another use-case it was entirely different
i don't really see how that would be viable if i would have to create a unique script each and every time i want to batch rename something in completely different ways
i'm not trying to avoid the CLI but the justification for using it has to be at least as good as VIM otherwise it's cool that it's possible through the CLI but redundant
>not to mention that there is no live preview of your result as there is in this GUI
Many terminal applications will have a dry-run/verbose option. Not exactly a live preview, but a preview nonetheless.
>i can justify VIM
If you like vim, there are tools to let you bulk rename files in it. Super handy and works great with macros.
This functionality is built into Thunar and most other modern file managers for one, and if you have large directories to go through you'll be better off just scripting it with perl, or awk & sed, or something similar. If you're a total brainlet who needs a GUI and for some reason can't install Thunar, just use szyszka
wdired-mode?
yup, and it's treated like any other emacs buffer. i tend to use macros a lot.
Bulk renamer is superior
Powershell completely mogs this so what is the point?
the year is 2023
a 1gb graphics card costs twenty dollars on ebay
graphics technology has improved to the point of realtime ray tracing
>freetards be like: JUST USE DUH COMMAND LINE
Just ask your AI nany̶o̶v̶e̶r̶l̶o̶r̶d̶ to do it for you
Transnomino for Mac is better.
because people with a brain use power rename on windows (it's part of the power toys suite from microsoft)
needing anything more is autism
because the pseudointellectuals on this board like to do things the hard way for no reason
>inb4 shell scripts are not that hard
not the point
>the hard way for no reason
This is why most zoomers literally don't understand how folders and files work.
why would they need to
I think it's pretty important. How does a zoomer move files between devices/disks, for example if one fills up?
How do they access/modify/delete files outside of the application that uses them? (They probably believe the files are stored in the app, like the photos app stores photos.)
What about modifying config files in folders read and used by applications?
How are they ever going to be computer literate if they don't know how to read/write to files and folders?
How does a zoomer find files on their computer if they can't remember the name and there's no specific keyword they can search within the file? Apparently first year cs students can't even find programs they wrote and saved.
Like say you're a zoomer and use one IDE and think all your code is "stored" there. But now you use another IDE and can't use it with your old code because you think they're actually stored in the IDE application itself and don't understand it's just inside a folder on your computer.
I prefer a superior UI
is there a way to change the order of the filters?
>not using Bulk Rename Utility 2.7.1.3
ngmi
Ok you gotta share the source on that background right now.
sex
PowerRename from Microsoft PowerTools does the job, why would you ever install some third party malware?
tried it once and it couldnt do something really basic. i think it was appending a number increasing in increments of 1 but not starting at 1. just not possible. or maybe it was something else, dont remember. but its shit either way.
why is it called ant renamer
sureley it should be called file renamer
cause you're a nagger and chuds use POSIX shell for such tasks
I just use advanced renamer portable that I downloaded like 5 years ago. Just weeks.
if you're not writing your own shellscripts for this kind of thing you're ngmi tbh senpai
rename 's/^..//' *
>worse than perl rename
>slower than util-linux rename
Rename-It?
advanced renamer.
i used that one too
i believe there was a specific reason that i can't remember right now but basically AntRenamer couldn't do what i needed so i had to use Advanced Renamer
Because litteraly every file manager worth using has some kind of batch renaming tool
Nobosy cares about homosexual ant whatever, buy an ad
>Because litteraly every file manager worth using has some kind of batch renaming tool
not on my machine
just use vimv
I think not. This is the first possible problem that came to my mind and it has an issue for it https://github.com/thameera/vimv/issues/39
Wasn't aware of this, thanks anon. Still remains my tool of choice for batch renaming
I've used it before too. Twice. In like 15 years, because that's how often I need to bulk rename files. That's why nobody talks about it.
same here, i don't often need to rename files and it just seems like a waste to spend days learning how to properly script it in a CLI when i could be learning things that i use on a daily basis instead
>jesus fucking christ the lengths people will go to to use an ebin terminal (even for simple shit) just to look cool
sounds more like this
unlike other CLI programs that are actually useful, i still am not convinced that learning an entirely new language for something i do very rarely is the most productive use of my time
regex isn't an entirely new language
still not wasting my time with it
it's really important anon it will save you hours of work many times over in many different scenarios
I had to bulk rename files a grand total of four times in my life. I used both the ant thing and bulk renamer for it. You can't stop me.
well regex isn't just specific to the mv command.
still won't waste my time with it
jesus fucking christ the lengths people will go to to avoid using a programming language (or even a simple DSL like regex) boggle my goddamned mind
>Ant Renamer
What is this? A renamer for ants?
For me, it was Renamer Fairy.
Good times. Good times.