Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Half OT: Convenient way to a copy with path of single files
- X-seq: zsh-users 16412
- From: meino.cramer@xxxxxx
- To: zsh-users@xxxxxxx
- Subject: Half OT: Convenient way to a copy with path of single files
- Date: Sat, 24 Sep 2011 07:09:25 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I am looking for a convenient way to copy a handful
of files as follows ("mycp" stands for what ever I
have to use to accomplish the copy):
mycp /home/user/A/B/C/D/files.txt /home/A/B/other/.
results in :
/home/A/B/other/C/D/files.txt
where 'files.txt' is a placeholder for everything which my
be matched by regular expressions inclusive furthere directories,
symlinks etc...
Is there a alreadu a command in the treasure of zsh or do I have
to script something?
Thank you very much in advance for any help!
Best regards,
mcc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author