So Amazon is shutting out Linux users. But what if I have a bunch of encrypted files there using old encfs and acd_cli scripts?
I can copy down the encrypted files using their client at any point, but how will I know which one is which?
I did the following. First, create a temporary directory. I did this in my $HOME on my Mac. Find a way that still exists to mount the drive (I used ExpanDrive). Once that is prepared, change to the mounted and encrypted ACD directory and run this command:
find . \( -type d -exec mkdir -p "$HOME/temp/{}" \; -o -type f -exec touch "$HOME/temp/{}" \; \)
Let it run for a while, it may take several minutes. This will create in $HOME/temp the identical directory structure as on the remote drive, and the identical filenames – but they will all be zero bytes! What good is this?
Thanks to the consistency of encfs, you can mount and decrypt this skeleton directory like this:
ENCFS6_CONFIG=/path/to/your/encfs6.xml encfs $HOME/temp $HOME/plain
Now, use some other tricks to find the matching filenames and you can manually download the specific encrypted files you want.
Leave a Reply
You must be logged in to post a comment.