LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2020, 11:49 AM   #1
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Rep: Reputation: Disabled
Rsync: How do I find the path of my source and destination drives?


As I'm going to try to use rsync, (I found a great video) I need a way to find out the "path" to my nVME partition, and my Linux Backup partition on my WD Passport.

My question is, how do I do that?

Thanks...
 
Old 06-28-2020, 12:21 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,546

Rep: Reputation: Disabled
One way to find them is to use df.

If they aren't always present, you can use dmesg|tail just after plugging one in.

There are other ways, but these will likely suffice.

Last edited by fatmac; 06-28-2020 at 12:22 PM.
 
1 members found this post helpful.
Old 06-28-2020, 02:11 PM   #3
Pen guin
Member
 
Registered: Oct 2019
Posts: 178

Original Poster
Rep: Reputation: Disabled
Thanks. fatmac.
 
1 members found this post helpful.
Old 06-28-2020, 03:27 PM   #4
quickbreakfast
Member
 
Registered: Oct 2015
Location: northern territory
Distribution: slackware 15
Posts: 341

Rep: Reputation: Disabled
Quote:
Originally Posted by Pen guin View Post
As I'm going to try to use rsync, (I found a great video)
Videos might be a good way to find anything, but I prefer to read about what I;m trying to do. As such I would suggest you read https://www.howtogeek.com/135533/how...data-on-linux/

I need a way to find out the "path" to my nVME partition, and my Linux Backup partition on my WD Passport.

Quote:
My question is, how do I do that?
If you open your file manager at the source location, the address should be at the top.

From there it is just a matter of entering the address into a terminal.. .. .. some terminal(s) permit copy and paste.

Likewise when you get to your destination localtion.
 
1 members found this post helpful.
Old 06-28-2020, 03:59 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,254

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
You can display the 'path' with the command 'lsblk'. Here is a sample from my desktop.

Quote:
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 vfat FAT32 ESP BBB0-C902
├─sda2 swap 1 ceb3b670-a40b-4200-90c3-4b3cbd71774b
├─sda3 ext4 1.0 9a5baeaa-09b7-45f5-b740-ffabb6e0e95b
└─sda4 ext4 1.0 22e3795f-ee7b-45c8-b05a-f21b19882ddb
sdb
├─sdb1 ext4 1.0 b929cff0-e4ca-465f-8eae-1894473f2801
├─sdb2 swap 1 835347a9-0ef8-4c07-b8e4-177fdb8814a6
└─sdb3 ext4 1.0 54607404-17f5-4d97-9ba9-efe213a7b0ff
sr0
nvme0n1
├─nvme0n1p1 vfat FAT32 0280-786C 53.3M 46% /boot/efi
├─nvme0n1p2 swap 1 f0256f8b-7a1d-46e0-b8cd-228182c84bfc [SWAP]
├─nvme0n1p3 ext4 1.0 e9b17834-e581-4b77-a16c-a71083a9d484 27G 40% /
├─nvme0n1p4 ext4 1.0 512487a2-323b-433c-9cbd-721cbb575500 122.3G 32% /home
└─nvme0n1p5 ext4 1.0 data 6741792f-ada3-443b-ba78-8280a76e7524 81.4G 41% /home/cliff/data
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Rsync files modified or added after a certain date: rsync-find vs. find-rync Wilkerson Linux - Newbie 6 04-01-2018 09:40 PM
rsync question. destination larger than source dimitrio Linux - Server 7 11-18-2013 04:17 AM
[SOLVED] match source pattern in destination and substitute in destination usin AWK 123raajesh Linux - Software 7 11-13-2013 04:22 AM
rsync - used incorrect multiple paths format, unsure of resulting source/destination codewaggle Linux - Newbie 6 03-24-2011 12:15 PM
destination unavailable W/ vpn. All other net destination o.k. MikeOfAustin Linux - Networking 1 04-07-2007 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration