Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to copy a dot directory (.wine) from the users home directopry to some other directory.
When I am trying to send this dot directory to my friends system using scp, it does not even work.It sends all the dot files in the system
if i want to send only .wine folder, not all, what should i do?
If you read the manpage, it looks like scp requires the name@host: for each file sent, so pulling files using a wildcard wouldn't work. I did test scp on a sample hidden directory that itself contained hidden and unhidden files, and a subdirectory. But, using tar would be a better idea. I think that it may even be possible to have tar running on both machines for that, which may be used to transfer large directories, however using 'slice' and par2 to add redundancy, may be a better idea. One example would be if the target filesystem can't handle filesizes above 2GB, such as fat32 or early ext2 filesystems. The partition size can be over 2GB, but a single file can't.
Its really not possible to send a dot directory.
All the user's dot tings are also transferred unneccessarily.
I tried to tar . But still, its going around 600MB . But my .wine directoy is 4.3 MB only.
Any suggestions?
Its really not possible to send a dot directory.
All the user's dot tings are also transferred unneccessarily.
I tried to tar . But still, its going around 600MB . But my .wine directoy is 4.3 MB only.
Any suggestions?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.