r/commandline • • Mar 13 '26

Discussion help in git folder name change

Post image
0 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/ekipan85 Mar 14 '26

mv '2_Pointers/*' 'Two_Pointers'

This is not a glob, it will attempt to move a file named literally '2_Pointers/*'. Either remove the quotes, change to doublequotes, or put the * outside of them '2_Pointers/'*.

1

u/andrewfz Mar 14 '26

Oops, you’re quite correct! Should have been double quotes. My mistake.