Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8754005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:32:11+00:00 2026-06-13T13:32:11+00:00

I have a list of path(.txt) which is the path to SSH the data

  • 0

I have a list of path(.txt) which is the path to SSH the data from database
Example :

/home/data3/bb/00/01/01/01/2001-abc.xml

and I need to get all these files to my local machine
the server is running in linux, and I used to get the files from SSH client.

Since all the files are base on some parent file like /bb/…., so I used to download the whole thing.

But this time the common file is too big to download, and the xml I needed are only some of them inside the huge server.

Does anyone has ideas how to get those files? Is there any SSH library in Java so I can read the content of xml directly in JAVA? or anyway to read the list of path and only download the files I want?

Those files are usually like:

/home/data3/bb/00/01/01/01/200142123-abc.xml
/home/data3/bb/00/01/02/01/200123423-fseaf.xml
/home/data3/bb/03/03/01/01/200112312-fefe.xml

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:32:12+00:00Added an answer on June 13, 2026 at 1:32 pm

    You could use the rsync utility. This is especially helpful if the local machine already has many of the files, in which case rsync would not transfer them.

    Rsync also can compress files. It might be this easy for you:

    rsync -azvr  source_host:/home/data3/bb/ /home/data3/bb/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have list of structure. I want to modify a particular data from the
I have a few .txt files my app accesses and gets data from. The
Let's imagine that I have list of files at host1 find /path/to -name *.jpg
I have a URL list of jar files, also I have whole path classname
I have a path and I want to list the subdirectories under it, where
I have a file that essentially a list of XPaths like so: /Options/File[1]/Settings[1]/Type[1] /Options/File[1]/Settings[1]/Path[1]
I have List I want to sort Desc by Priority, which is int and
I have a database where each entry has a file path and a last
If I have an example function ... function foo() { # get a list
Let's say I have a list of files, such as files = [C:\\MyDir\\some_file.txt, C:\\MyDir\\another_file.txt,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.