Friday, May 3, 2024
Homepage · mv
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 734  / 2 Years ago, sat, march 12, 2022, 10:05:50

I am trying to move all the folders that have the digit 1 in between (glove.6B.60d.txt) and (model)


mv "./*.txt)(1)(m*" "/home/e1"

but I get the error message


mv: cannot stat './*.txt)(1)(m*': No such file or directory

What am I doing wrong? I am in the same folder


enter image description here


More From » mv

 Answers
5

Globs are not expanded inside quotes - you'd need something like


./*".txt)(1)(m"*

or


./*.txt")(1)("m*

or


./*.txt)(1)(m*

[#1919] Sunday, March 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kroapathe

Total Points: 445
Total Questions: 117
Total Answers: 99

Location: Botswana
Member since Sun, Sep 19, 2021
3 Years ago
;