I'm trying to understand how the move command works. I've googled it of course and found some information, but I'm still confused.
I'm logged into the Mac as myself (call me Dad), and I want to use terminal to move some files around in the Pictures folder in my wife's profile (call her Mom). I have permission to the Pictures folder. In terminal, I issued the command to change to the folder. when I execute 'pwd', it shows the current folder as /users/mom/pictures. Now, assume I want to move all JPG files from the root of the pictures folder to a folder called photos that is one level below pictures. I've tried 'mv /users/mom/pictures/*.jpg /users/mom/pictures/photos' but I get 'No such file or directory'. I tried several variations of that command with the same results. So I decided to try moving just one file. That file was called 'weird.png'. so I issue the command mv weird.png ~/photos. That command executed without error, but now the file is no where to be found. It is not in the pictures folder, and it's not in my pictures folder, and it is not in the photos folder. So, clearly I am not understanding how this works.
Can anyone help?
I'm logged into the Mac as myself (call me Dad), and I want to use terminal to move some files around in the Pictures folder in my wife's profile (call her Mom). I have permission to the Pictures folder. In terminal, I issued the command to change to the folder. when I execute 'pwd', it shows the current folder as /users/mom/pictures. Now, assume I want to move all JPG files from the root of the pictures folder to a folder called photos that is one level below pictures. I've tried 'mv /users/mom/pictures/*.jpg /users/mom/pictures/photos' but I get 'No such file or directory'. I tried several variations of that command with the same results. So I decided to try moving just one file. That file was called 'weird.png'. so I issue the command mv weird.png ~/photos. That command executed without error, but now the file is no where to be found. It is not in the pictures folder, and it's not in my pictures folder, and it is not in the photos folder. So, clearly I am not understanding how this works.
Can anyone help?