Derek Furman
asked on
Mint live disk boots Mac but I cannot move files
Mint live disk boots Mac but I cannot move files
Most files are movable but some throw a permission denied alert. I see some of the files are named "IMG_123.jpg" all the files that follow that naming structure are locked despite opening the folder as root. some files in the same folder are accessible but have names like goose.jpg or dog.jpg these open and transfer great.
Cannot rename the restricted files
Most files are movable but some throw a permission denied alert. I see some of the files are named "IMG_123.jpg" all the files that follow that naming structure are locked despite opening the folder as root. some files in the same folder are accessible but have names like goose.jpg or dog.jpg these open and transfer great.
Cannot rename the restricted files
Can you post the commands you run and the errors?
What are the file permissions? Do you have ownership of the files? Since this is Mint, which is a fork of Ubuntu, you aren't root when you are auto logged in. Did you become root or use sudo when you ran the commands?
ASKER
see that's just it I used the GUI, thought there could be a shortcut via the gui (wish full thinking methinks). So I am turning to the terminal.
I want move this folder and contents
/media/Macintosh HD/Users/tedmorrison/Pictures/
TO
/media/cell3603332336/Ted/ Pictures
I imagine I have to root or sudo but my experience is lacking, I am hoping you can show me the script instead of beat my head against it.
You can see I'm moving files from my mac to a external HD
one thing to note is about half the pictures will transfer but the other half throws this error "Error opening file: Permission denied"
I want move this folder and contents
/media/Macintosh HD/Users/tedmorrison/Pictures/
TO
/media/cell3603332336/Ted/
I imagine I have to root or sudo but my experience is lacking, I am hoping you can show me the script instead of beat my head against it.
You can see I'm moving files from my mac to a external HD
one thing to note is about half the pictures will transfer but the other half throws this error "Error opening file: Permission denied"
ASKER
Another strange thing GIMP will open the files and allow save to a new location but this is tedious to the extreme with over 500.jpg at production resolution(big)
Gimp does not give any indication it is running as root.
Thx experts
Gimp does not give any indication it is running as root.
Thx experts
Gimp is likely not deleting files from your HD.
If you just copy with cp instead of moving it with mv you should be fine.
Otherwise, if you really want to move the files precede the command with sudo
If you just copy with cp instead of moving it with mv you should be fine.
Otherwise, if you really want to move the files precede the command with sudo
ASKER
mint@mint /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages $ cp -r /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages* /media/cell3603332336/File s
cp: cannot stat `/media/Macintosh': No such file or directory
cp: cannot stat `HD/Users/tedmorrison/51': No such file or directory
cp: cannot stat `plusimages,.pages*': No such file or directory
I'm getting a no such directory on this
any ideas on how to move the folders and contents at once?
cp: cannot stat `/media/Macintosh': No such file or directory
cp: cannot stat `HD/Users/tedmorrison/51':
cp: cannot stat `plusimages,.pages*': No such file or directory
I'm getting a no such directory on this
any ideas on how to move the folders and contents at once?
ASKER
Also
mint@mint /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages $ sudo cp -r /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages* /media/cell3603332336/File s
cp: cannot stat `/media/Macintosh': No such file or directory
cp: cannot stat `HD/Users/tedmorrison/51': No such file or directory
cp: cannot stat `plusimages,.pages*': No such file or directory
mint@mint /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages $ sudo cp -r /media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages* /media/cell3603332336/File
cp: cannot stat `/media/Macintosh': No such file or directory
cp: cannot stat `HD/Users/tedmorrison/51':
cp: cannot stat `plusimages,.pages*': No such file or directory
ASKER
this moved images but not folders
mint@mint /media/Macintosh HD/Users/tedmorrison $ sudo cp *.* /media/cell3603332336/File s
1cp: omitting directory `51 plusimages,.pages'
cp: omitting directory `Artist Directory Northwest .rtfd'
cp: omitting directory `Gaylesapp.rtfd'
cp: omitting directory `Guidelines for BW.rtfd'
cp: omitting directory `merchant.mv_files'
cp: omitting directory `mockupbroch.pages'
cp: omitting directory `Re_ Copy of page inserts.rtfd'
cp: omitting directory `suescopy.rtfd'
mint@mint /media/Macintosh HD/Users/tedmorrison $ sudo cp *.* /media/cell3603332336/File
1cp: omitting directory `51 plusimages,.pages'
cp: omitting directory `Artist Directory Northwest .rtfd'
cp: omitting directory `Gaylesapp.rtfd'
cp: omitting directory `Guidelines for BW.rtfd'
cp: omitting directory `merchant.mv_files'
cp: omitting directory `mockupbroch.pages'
cp: omitting directory `Re_ Copy of page inserts.rtfd'
cp: omitting directory `suescopy.rtfd'
The path must surround by quotes because there are spaces in between, try -
sudo cp -Rv '/media/Macintosh HD/Users/tedmorrison/51 plusimages,.pages*' /media/cell3603332336/Files
That also suggests that the reason your move failed was that you forgot to put quotes around the paths with spaces.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The problem seems to be related to Apple file system locked permissions, sudo and root would not over ride permission on files with odd naming structure. I was able to open most the files with GIMP, which was confusing. I surmised if GIMP opens the files and I can re save them to the new location maybe I can just zip them, strange that worked. I tried many scripts but none gave me the results I needed.