[RESOLVED] Using of "eos cp" command« Back to Questions List

Hi! Can I use wildcards in "eos cp" command?
Posted by Vsilii Plotnikov
Asked on 02/04/2020 11:47
0

Unfortunately I have not found anything about wildcards in ”man eos cp”.

Posted by Vsilii Plotnikov
Answered On 15/04/2020 12:39
0

Question resolved or not? Wildcards and command features are described in the documentation:

man eos cp
Posted by Ivan Slepov
Answered On 14/04/2020 16:05
0

Yes, I have tried this command. As a result, I have new /eos/nica/bmn/users/vplotnik/vp_r7_v2/ directory with vp_r7_v2 subdirectory. So after that, I need to execute 3 additional commands: rename /eos/nica/bmn/users/vplotnik/vp_r7_v2, move vp_r7_v2 to ../ and remove empty directory. It is not convenient.

But to be honest, wildcards is very helpful in many other situations. For example, to filter subdirectories which I want to copy. So my question was mainly about using wildcards with eos cp.

Posted by Vsilii Plotnikov
Answered On 07/04/2020 14:07
0

Have you tried like this?

eos cp -r -p -P /nica/mpd21/plotnikov/vp_r7_v2/ /eos/nica/bmn/users/vplotnik/vp_r7_v2/
Posted by Ivan Slepov
Answered On 07/04/2020 12:49
0

I am trying to make a copy
eos cp -r -p -P /nica/mpd21/plotnikov/* /eos/nica/bmn/users/vplotnik/

Posted by Vsilii Plotnikov
Answered On 02/04/2020 12:49
0

I am trying to execute a command with no success
eos cp -r -p -P /nica/mpd21/plotnikov/vp_r7_v2/ /eos/nica/bmn/users/vplotnik/
error: unable to create directory (errc=1) (Operation not permitted)
error: failed to create target directory : /eos/nica/bmn/users/vplotnik/
Could you explain me why it so?

Posted by Vsilii Plotnikov
Answered On 02/04/2020 12:47
0

Describe in more detail what you want to do?

Posted by Ivan Slepov
Answered On 02/04/2020 11:54