ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 1.4 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://medium.com/@marksiu/how-to-copy-your-file-to-other-mac-via-terminal-aa4f6dd6ee56 |
| Last Crawled | 2026-03-09 17:28:31 (1 month ago) |
| First Indexed | not set |
| HTTP Status Code | 200 |
| Meta Title | How to copy your file to other Mac via Terminal? | by Mark | Medium |
| Meta Description | How to copy your file to other Mac via Terminal? If you want to send your files from your Mac to other Mac, you can use AirDrop function provided by Apple. And what if you want to copy a file by … |
| Meta Canonical | null |
| Boilerpipe Text | 1 min read
Aug 28, 2018
--
If you want to send your files from your Mac to other Mac, you can use
AirDrop
function provided by Apple. And what if you want to copy a file by using Terminal?
You can use
scp
, security copy.
How to do?
In order to do that, we need to know 5 information:
sender mac account name (type
whoami
to check)
receiver mac account name
file path in sender mac (type
pwd
to check)
file path in receiver mac
receive IP address (type
ifconfig
, search for
en0
and then
inet
)
scp <senderFilePath> <receiverAccName>@<receiverIPAddress>:/
type the receiver login password
If it shows error refused connection, go to
System Preferences
>
Sharing
>
tick remote Login
.
Example
scp /Users/John/Desktop/Bookshop.ipa mark@111.234.546.1:/Downloads
The above cmd will “send a Bookshop.ipa from John Desktop to mark Downloads folder” |
| Markdown | [Sitemap](https://medium.com/sitemap/sitemap.xml)
[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40marksiu%2Fhow-to-copy-your-file-to-other-mac-via-terminal-aa4f6dd6ee56&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)
[Medium Logo](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)
Get app
[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)
[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40marksiu%2Fhow-to-copy-your-file-to-other-mac-via-terminal-aa4f6dd6ee56&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

# How to copy your file to other Mac via Terminal?
[](https://medium.com/@marksiu?source=post_page---byline--aa4f6dd6ee56---------------------------------------)
[Mark](https://medium.com/@marksiu?source=post_page---byline--aa4f6dd6ee56---------------------------------------)
1 min read
·
Aug 28, 2018
\--
1
Listen
Share
If you want to send your files from your Mac to other Mac, you can use `AirDrop` function provided by Apple. And what if you want to copy a file by using Terminal?
You can use `scp`, security copy.
### How to do?
In order to do that, we need to know 5 information:
1. sender mac account name (type `whoami` to check)
2. receiver mac account name
3. file path in sender mac (type `pwd` to check)
4. file path in receiver mac
5. receive IP address (type `ifconfig`, search for `en0` and then `inet`)
6. `scp <senderFilePath> <receiverAccName>@<receiverIPAddress>:/`
7. type the receiver login password
If it shows error refused connection, go to `System Preferences` \> `Sharing` \> `tick remote Login`.
### Example
`scp /Users/John/Desktop/Bookshop.ipa mark@111.234.546.1:/Downloads`
The above cmd will “send a Bookshop.ipa from John Desktop to mark Downloads folder”
[Mac](https://medium.com/tag/mac?source=post_page-----aa4f6dd6ee56---------------------------------------)
[Tutorial](https://medium.com/tag/tutorial?source=post_page-----aa4f6dd6ee56---------------------------------------)
\--
\--
1
[](https://medium.com/@marksiu?source=post_page---post_author_info--aa4f6dd6ee56---------------------------------------)
[](https://medium.com/@marksiu?source=post_page---post_author_info--aa4f6dd6ee56---------------------------------------)
[Written by Mark](https://medium.com/@marksiu?source=post_page---post_author_info--aa4f6dd6ee56---------------------------------------)
[96 followers](https://medium.com/@marksiu/followers?source=post_page---post_author_info--aa4f6dd6ee56---------------------------------------)
·[4 following](https://medium.com/@marksiu/following?source=post_page---post_author_info--aa4f6dd6ee56---------------------------------------)
A Software Engineer
## Responses (1)
See all responses
[Help](https://help.medium.com/hc/en-us?source=post_page-----aa4f6dd6ee56---------------------------------------)
[Status](https://status.medium.com/?source=post_page-----aa4f6dd6ee56---------------------------------------)
[About](https://medium.com/about?autoplay=1&source=post_page-----aa4f6dd6ee56---------------------------------------)
[Careers](https://medium.com/jobs-at-medium/work-at-medium-959d1a85284e?source=post_page-----aa4f6dd6ee56---------------------------------------)
[Press](mailto:pressinquiries@medium.com)
[Blog](https://blog.medium.com/?source=post_page-----aa4f6dd6ee56---------------------------------------)
[Privacy](https://policy.medium.com/medium-privacy-policy-f03bf92035c9?source=post_page-----aa4f6dd6ee56---------------------------------------)
[Rules](https://policy.medium.com/medium-rules-30e5502c4eb4?source=post_page-----aa4f6dd6ee56---------------------------------------)
[Terms](https://policy.medium.com/medium-terms-of-service-9db0094a1e0f?source=post_page-----aa4f6dd6ee56---------------------------------------)
[Text to speech](https://speechify.com/medium?source=post_page-----aa4f6dd6ee56---------------------------------------) |
| Readable Markdown | [](https://medium.com/@marksiu?source=post_page---byline--aa4f6dd6ee56---------------------------------------)
1 min read Aug 28, 2018
\--
If you want to send your files from your Mac to other Mac, you can use `AirDrop` function provided by Apple. And what if you want to copy a file by using Terminal?
You can use `scp`, security copy.
### How to do?
In order to do that, we need to know 5 information:
1. sender mac account name (type `whoami` to check)
2. receiver mac account name
3. file path in sender mac (type `pwd` to check)
4. file path in receiver mac
5. receive IP address (type `ifconfig`, search for `en0` and then `inet`)
6. `scp <senderFilePath> <receiverAccName>@<receiverIPAddress>:/`
7. type the receiver login password
If it shows error refused connection, go to `System Preferences` \> `Sharing` \> `tick remote Login`.
### Example
`scp /Users/John/Desktop/Bookshop.ipa mark@111.234.546.1:/Downloads`
The above cmd will “send a Bookshop.ipa from John Desktop to mark Downloads folder” |
| Shard | 77 (laksa) |
| Root Hash | 13179037029838926277 |
| Unparsed URL | com,medium!/@marksiu/how-to-copy-your-file-to-other-mac-via-terminal-aa4f6dd6ee56 s443 |