- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remote copy file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:25 AM
12-18-2006 05:25 AM
We could change the file name, however can any one shed some light on remote coping a file with a colon in it?
riovo# rcp 2006-12-15,15:43 txovo:/arc/sys_backups/rinnm5/
rcmd: 2006-12-15,15: Unknown host
riovo#
Regards,
Chad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:27 AM
12-18-2006 05:27 AM
Re: remote copy file
"txovo:/arc/sys_backups/rinnm5/"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:29 AM
12-18-2006 05:29 AM
Re: remote copy file
Any time you have characters special to the shell, you simply escape them. This is one way:
# rcp -p "file:with:colons" otherhost:/tmp
Regards!
..JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:37 AM
12-18-2006 05:37 AM
Re: remote copy file
riovo# rcp -p "2006-12-15,15:43" txovo:/arc/sys_backups/rinnm5/
rcmd: 2006-12-15,15: Unknown host
riovo# rcp "2006-12-15,15:43" txovo:/arc/sys_backups/rinnm5/
rcmd: 2006-12-15,15: Unknown host
riovo#
Any other suggestions?
Regards,
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:40 AM
12-18-2006 05:40 AM
SolutionYou should really consider changing that filename, as it will no doubt cause other problems.
Chiding aside,
$ rcp /full/path/to/2006-12-15,15:43 txovo:/arc/sys_backups/rinnm5/
$ rcp ./2006-12-15,15:43 txovo:/arc/sys_backups/rinnm5/
both work on my test system.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 05:43 AM
12-18-2006 05:43 AM