I want to copy multiple files from a specific directory once I am in another directory. To clarify I want to do the following, at once (one command):
cp ../dir5/dir4/dir3/dir2/file1 .
cp ../dir5/dir4/dir3/dir2/file2 .
cp ../dir5/dir4/dir3/dir2/file3 .
cp ../dir5/dir4/dir3/dir2/file4 .
I can't use cp ../dir5/dir4/dir3/dir2/* .
because in dir2
there are n
files (n>4)
By the way, I'm using bash
.
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…