billw2 / rpi-clone

A shell script to clone a booted disk.
BSD 3-Clause "New" or "Revised" License
2.52k stars 331 forks source link

files under hidden directors are not copied #65

Open montaqa opened 5 years ago

montaqa commented 5 years ago

Hi,

i have files under a hidden director (.jr_cam) in the main pi home directory. those files are not copied to the other SD card. im using this command:

sudo rpi-clone -f -a -v sda
burnsfisher commented 5 years ago

Interesting and odd. It copies the .git directory from its own repository just fine (r-pi), although I used no switches.. just sudo rpi-clone sda

Abu-Abdullah commented 5 years ago

still the same case with

sudo rpi-clone sda