0
votes
1answer
142 views

How can I copy, recursive directory, only files with a attribute 1, and reset this a attribute to 0?

How can I copy, recursive directory, only files with a attribute 1, and reset this a attribute to 0? Thanks, Francisco
5
votes
2answers
1k views

How can I copy a file to a new location, creating the directory as well

I want to cp a file to another directory but that directory doesn't exist yet. So I would do: mkdir /new_place cp the_file /new_place Can I do this in one? I imagine something like cp the_file -m ...
3
votes
1answer
507 views

Fast and reliable way to move directories from one HDD to another

I'm looking for a fast and reliable way to move some chosen directories from one HDD to another. The case is as follows. I'm getting a new desktop system which will replace my old desktop. I want to ...
9
votes
3answers
24k views

Backup files with rsync: error 23

I'm trying to make a backup of my /home to transfer all data from one computer to another. I wanted to save the backup on the same computer and than transfere it to another one. For safety reasons, ...