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.
0+0 records out
0 bytes (0 B) copied, 29,6211 s, 0,0 kB/s
dd: leyendo «/home/miros/facturación»: Es un directorio
0+0 records in
0+0 records out
0 bytes (0 B) copied, 29,6212 s, 0,0 kB/s
dd: leyendo «/home/miros/facturación»: Es un directorio
0+0 records in
0+0 records out
0 bytes (0 B) copied, 29,6212 s, 0,0 kB/s
dd: leyendo «/home/miros/facturación»: Es un directorio
^C records out
0 bytes (0 B) copied, 29,6333 s, 0,0 kB/s
0+0 records in
0+0 records out
0 bytes (0 B) copied, 29,6483 s, 0,0 kB/s
Why would you dd a directory instead of using a tool more suited to that operation? dd really shouldn't be used as a multipurpose copying tool even though it can be shoe horned into that role.
Code:
tar cfvj /home/miros/opiti/backup.tbz2 /home/miros/facturación/*
If all you are looking to do is copy a folders contents and compress it then why don't you use the cp or tar commands or both.
Code:
cp /path/to/folder/ /path/to/new/folder/newname
You end with a slash and it'll get just the contents and not the folder. Then you can update the new folder as the old folder changes with something like
Code:
cp -nR /path/to/folder/ /path/to/new/folder
Put quotes around the entire path if the file or folder contains non standard characters like spaces or ?
Code:
cp -nR "/path/to/folder/" /path/to/new/folder
dd is a bitstream duplicator. It will duplicate anything you point it to.
It copies 1 and 0 in the exact order and place where they were. That's why it is good for an exact .iso of something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.