7.Wildcards no.5


#1

I can't do the mv wonderwoman.txt batman.txt superhero/ when I type it, it just says that there is no file (cannot stat 'wonderwomen.txt': No such file or directory):cry:. please help.


#2

Have you considered what reasons there may be for a file not being in the place you're looking?

-Looking in the wrong place
-Already moved it
-Doesn't exist anywhere
etc


#3

having the same issue, "


#4

@harrisonjd then, the same reply applies

How would you deal with this in a graphical file explorer? Do that


#5

K so I suggest figuring out if it's moved/somewhere else etc first

But failing all else, this can be pasted into the terminal to restore those two files:

cd ~ && echo QlpoOTFBWSZTWcFAB7kAB9l/9coQAQBY5//5Ped9in////BIAAgAACAIAhAACAhgCF97gAM7lqZcTrl3bJ0dWZ1J10NNJomjRppMmpBtTT1Bo2poP1RpkABoAABqegmQTU0ST9Cmankg0GgPUAAAaAAHDTTBDIaaZGTCAaaAMJo0yYAEDQSnpRE1GUYh6mgZBo0ADIDQGgDQAHDTTBDIaaZGTCAaaAMJo0yYAEDQSmhAggI0EQ9NTTEAaGQANNGgZBp5jzm89cCITAdFBmZl0VBDnJ4JDQQDOc2i55iwWqt9MTAvhoH8ybf2nBkcNshze94rB8eGfQ90r9zZJ2R/GE62vZ7D7NtXBv5VSUcGF8i3lyVunc+s0u8AGVD4UeZ9+uQZYDlFbPSgRDsgIuMkcaokNUbux6UaxRC9ay/5Rk+AMq8eYP35uN6iFbcZNCWfTaZTgGjlfMlmgWSQXXj5NSciv9MJC0TZK8r8m7y2yHbWGthtx0KDLPtLLVXBHLlwVqkQuKOaNwqvmuqjUWlkOK3DTVAh0tV6jrCRV52ak1QVjvgQ16s3Qr+DT1Z7kq/CyMWhOHK1mhARya7NNrVIeUNmTCByqWYqxmNKMMlTJg1DllduCsGFWx0OBUuEpMJcwyJ2OoeC4GRCMuK68XsrIkm2Yey3SrMGCb+cHqTsK8phgjaNuLizXddrLW4cWDIrZa2yPWvHYO2zIxtFXbKKsm0XGLBGAgvq7tDIlWGnQhSQURznSZecwzLBv4wGcVBNShLU78q+t80tjtqsOQUB5Jnhxj5nmY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pwstF1LsFBLSqpbGGImKM49AEmaEMJMk0MNCJmVeVU65khDszFByr6xK3XI5KtxY0vZVEGTqos0SglCuxD0fcAdCAzcfNBoQ3N6cu9nxW26OurAC5PvvvXg2IHb2iIDQEb+XCoSMb30WZA7JC1CQRMp05XOeB8BfNE05JHHYyYQjVtG1SNz1fRsjwbY3vSIWzhwqqcvfvFYNowAKjZfkIWBZKHsnB1IPaxDG9wzUaZjtmRg7CFhDnxJQDTS1SIN5VCkSlptotm09Nx0OBmhAxwVwHEbNHLYtpi7Rix8jTOb5iNslmogmBCCgcMW05Vno/m84Z2FnBnKclniG476V4FD9hBwsqc+LVLF6mvNS7vhnCmMTCIwckNSVMw6sCCi4iB3TiRD5Rmje1MzMIFVdVwlqJg1SQWTTNp8dZO+WwW8oTlsAKwODQNJsJyRCsioDtTnhadXsUmuD1rGS2VRvPMOyjKbeWbaGnqKVpcrhenKDw6IlWx2inDLnRuWxgCqDr30DCkIIM4xh75rU1vo2/cZWbBVsWM3JGZptO6SYtrlg0oVKh7rKgdgU7huf8mLL+FahbixbIY6pYiO5hAk7ixc8WggNNBKyGIcOz1Gj0Ey2I0bmY5plO8M+w3EQ2tDopM3qxVZbl4gXGhBqu/sQC2qQ7r+/9KNU01q64OsTtE86zpZV+HfUrd7W25OxZ2b1nl/49Z1kG4TDH/i7kinChIYKAD3IA== | base64 -d | bunzip2 | tar -x && cd ~/workspace/movies

(What I did was to create an archive of wonderwoman.txt and batman.txt (like a zip file in windows terms), then convert that to a base 64 number which is printable. What you see above is the reversal of that process)

These are the programs used in the above command:

$ whatis base64 bunzip2 tar
base64 (1)           - base64 encode/decode data and print to standard output
bunzip2 (1)          - a block-sorting file compressor, v1.0.6
tar (1)              - an archiving utility

Creating it went like this:

shopt -s extglob
cd ~
tar -c workspace/movies/action/+(wonderwoman|batman).txt | bzip2 | base64

And then copy-pasted it, and ran it through tr -c ' \n' on my own system to get rid of all the spaces and newlines that i got while copying from codecademy


#6

I am stuck at this point to this is my first day coding so if you could break it down like i am 3 i would really appreciate it.

thank you


#7

Please type pwd and them reply the message, it will help me to know your location


#8

I am having a similar problem. But I have successfully moved all the files where the lesson says to do it. I actually have a little familiarity with the command line. This was just a refresher. The problem is that although I have moved and copied all the files and viewed the directory to confirm that everything is where it should be, I cannot go to the next lesson. The Next button remains disabled, though all tasks have been successfully completed.