Choose style:

Author Topic: "There was an error getting information about the files in the... [SOLVED]  (Read 1115 times)

0 Members and 1 Guest are viewing this topic.

Online spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1936
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Moving some files and folders onto my main drive from backups and I encountered the above error...  search reveals its an older ubuntu bug...

http://askubuntu.com/questions/364005/there-was-an-error-getting-information-about-while-copying-to-desktop Most of the search referenced windows problems related to this, meanwhile the next reference to a linux based question led back to Ubuntu 9.something. http://raywoodcockslatest.blogspot.com/2009/12/ubuntu-904-error-while-copying-folder.html

I suppose I now need to research how to delete the offending folder from my external hdd through the terminal via command line. Placing the post in "New Users"  because I feel like a new user whenever it comes to command line stuff...    ???
« Last Edit: January 23, 2017, 06:53:04 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Online spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1936
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Coolio... teaching myself some new schtuff each day...

Code: [Select]
spence@antec ~ $ cd --help
bash: cd: --: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
spence@antec ~ $ cd /media/spence
spence@antec /media/spence $ dir
SG320  WD500
spence@antec /media/spence $ cd SG320
spence@antec /media/spence/SG320 $ dir
2016bookmarks.html
\ a\ la\ qosmio
albums
ancestry
ancestry\ dos
aparoli
diagnostic\ files
doc\ files
email
End\ your\ war\ with\ life.mp3
family\ tree\ maker\ 4.0
friedl\ guide_kolsky.pdf
gilfether,\ micheal\ in\ 99th_Infantry_CW_Roster.pdf
hosts
iron.deb
Kitka\ -\ Shchedrik\ (Ukraine).mp3
Music
music\ ~\ cpm
nook\ files
palm
palm\ desktop
pima\ county
podcasts
sigfiles.txt
smHome.html
sm.ldif
stationery
txt\ files
videos
Videos
spence@antec /media/spence/SG320 $ rm \ a\ la\ qosmio
rm: cannot remove ' a la qosmio': Is a directory
spence@antec /media/spence/SG320 $

hmmm, okay now how to remove directory  ::)

Code: [Select]
spence@antec /media/spence/SG320 $ rm --help
Usage: rm [OPTION]... [FILE]...
Remove (unlink) the FILE(s).

  -f, --force           ignore nonexistent files and arguments, never prompt
  -i                    prompt before every removal
  -I                    prompt once before removing more than three files, or
                          when removing recursively; less intrusive than -i,
                          while still giving protection against most mistakes
      --interactive[=WHEN]  prompt according to WHEN: never, once (-I), or
                          always (-i); without WHEN, prompt always
      --one-file-system  when removing a hierarchy recursively, skip any
                          directory that is on a file system different from
                          that of the corresponding command line argument
      --no-preserve-root  do not treat '/' specially
      --preserve-root   do not remove '/' (default)
  -r, -R, --recursive   remove directories and their contents recursively
  -d, --dir             remove empty directories
  -v, --verbose         explain what is being done
      --help     display this help and exit
      --version  output version information and exit

By default, rm does not remove directories.  Use the --recursive (-r or -R)
option to remove each listed directory, too, along with all of its contents.

To remove a file whose name starts with a '-', for example '-foo',
use one of these commands:
  rm -- -foo

  rm ./-foo

Note that if you use rm to remove a file, it might be possible to recover
some of its contents, given sufficient expertise and/or time.  For greater
assurance that the contents are truly unrecoverable, consider using shred.

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Full documentation at: <http://www.gnu.org/software/coreutils/rm>
or available locally via: info '(coreutils) rm invocation'
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Online spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1936
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Guess I got further along than I thought I would... still pondering...

Code: [Select]
spence@antec /media/spence/SG320 $ rm -R \ a\ la\ qosmio
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Census Budnick.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Census gilfether, michael.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 census Maurice Burchill 2.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Cleveland Anton Budnick.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Maurice Burchill census.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Sylvester Gilfether.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1930 Maurice Burchill.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/Babyphif.BMP': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 001.tif': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 001crop a.tif': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 600dpi.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 2.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family': Directory not empty

Fortunately, I'm obsessive compulsive about redundant back ups and have other copies of the above stored away... Am guessing linux doesn't like .tif files...  digging further I managed to dive into the problematic folder... now will i be able to move these files?

Code: [Select]
spence@antec /media/spence/SG320/ a la qosmio/ancestry/gilfether family $ dir
1910\ Census\ Budnick.jpg 1910\ Maurice\ Burchill\ census.jpg  burchill\ gilfether\ wedding\ 001crop\ a.tif
1910\ Census\ gilfether,\ michael.jpg 1910\ Sylvester\ Gilfether.jpg      burchill\ gilfether\ wedding\ 001.tif
1910\ census\ Maurice\ Burchill\ 2.jpg 1930\ Maurice\ Burchill.jpg      burchill\ gilfether\ wedding\ 2.jpg
1910\ Cleveland\ Anton\ Budnick.jpg Babyphif.BMP      burchill\ gilfether\ wedding\ 600dpi.jpg
spence@antec /media/spence/SG320/ a la qosmio/ancestry/gilfether family $ move --help
No command 'move' found, did you mean:
 Command 'love' from package 'love' (universe)
 Command 'fmove' from package 'embassy-phylip' (multiverse)
 Command 'qmove' from package 'torque-client-x11' (universe)
 Command 'qmove' from package 'torque-client' (universe)
 Command 'jove' from package 'jove' (universe)
 Command 'lmove' from package 'suck' (universe)
 Command 'mova' from package 'mova' (universe)
 Command 'mmove' from package 'mtools' (main)
 Command 'more' from package 'util-linux' (main)
move: command not found

« Last Edit: January 23, 2017, 04:46:26 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2864
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Good god spence STOP!!!

The first part of your command (if run with elevated privileges) will delete your ENTIRE root directory (including your OS.


What exactly are you trying to do ?

And what's the output from:
Code: [Select]
mount
« Last Edit: January 23, 2017, 05:07:23 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1936
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
originally, just wanted a folder deleted from the external usb drive where i'm operating...
Code: [Select]
spence@antec /media/spence/SG320/ a la qosmio/ancestry/gilfether family $
now pondering moving the files instead...
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2864
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Yeah but the first folder you told it to delete was /

which is the root of your system :o



Which folder do you want to delete (full path to it) ?

Is this the path:-
/media/spence/SG320/ a la qosmio/ancestry/gilfether family
?
(including 4 spaces in the foldernames ?)
« Last Edit: January 23, 2017, 06:04:07 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1936
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
fairly certain that was the full path in previous post...  :-\|

Code: [Select]
spence@antec /media/spence/SG320/ a la qosmio/ancestry/gilfether family

moving the folder in traditional way gives the error in my post title... but looking at the gilfether family folder via the gui tells me there are zero files in the folder... while the terminal says:


Code: [Select]
spence@antec /media/spence/SG320 $ rm -R \ a\ la\ qosmio
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Census Budnick.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Census gilfether, michael.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 census Maurice Burchill 2.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Cleveland Anton Budnick.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Maurice Burchill census.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1910 Sylvester Gilfether.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/1930 Maurice Burchill.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/Babyphif.BMP': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 001.tif': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 001crop a.tif': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 600dpi.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family/burchill gilfether wedding 2.jpg': Input/output error
rm: cannot remove ' a la qosmio/ancestry/gilfether family': Directory not empty

all kinds of photos remain in the folder...  so the input/output error relates to the files above, after i moved the majority of the 12,000 photos in the traditional way via the gui
« Last Edit: January 23, 2017, 06:12:30 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2864
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
It WAS the path in your previous post, but you NEED to be aware how the bash INTERPRETS commands.

NOTE - bash does NOT understand whitespaces (spaces in file/folder names) .. when it reaches a space it interprets it as the end of the path, and anything that comes after it will be ANOTHER path.

So your
rm -R \ a\ la\ qosmio
was interpreted as
1) delete (recursively) \  <-- that's your ROOT folder, and would have deleted your entire HDD, Peppermint and all
2) also delete (recursively) a\  <-- it didn't understand that because there is no such directory
3) also delete (recursively) la\  <-- it didn't understand that because there is no such directory
4) also delete (recursively) qosmio  <-- it didn't understand that because there is no such directory



Paths with whitespaces need to be surrounded with single or double quotation marks .. then anything between the quotation marks will be treated as a single path.

So...
Code: [Select]
rm -rv "/media/spence/SG320/ a la qosmio/ancestry/gilfether family"
or
Code: [Select]
rm -rv '/media/spence/SG320/ a la qosmio/ancestry/gilfether family'

[hr

did that make sense ?
« Last Edit: January 23, 2017, 06:19:22 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1936
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Which folder do you want to delete (full path to it) ?

Is this the path:-
/media/spence/SG320/ a la qosmio/ancestry/gilfether family
?
(including 4 spaces in the foldernames ?)

When I do a dir in the external drive this is the list of folders on the drive
Code: [Select]
spence@antec /media/spence/SG320 $ dir
2016bookmarks.html  email   music\ ~\ cpm  sm.ldif
\ a\ la\ qosmio     End\ your\ war\ with\ life.mp3   nook\ files stationery
albums     family\ tree\ maker\ 4.0   palm txt\ files
ancestry     friedl\ guide_kolsky.pdf   palm\ desktop  videos
ancestry\ dos     gilfether,\ micheal\ in\ 99th_Infantry_CW_Roster.pdf  pima\ county Videos
aparoli     hosts   podcasts
diagnostic\ files   Kitka\ -\ Shchedrik\ (Ukraine).mp3   sigfiles.txt
doc\ files     Music

so yeah, that's how the terminal sees that file... as \ a\ la\ qosmio

and yes your prior post makes sense... revealing i did put my post in the right place...
« Last Edit: January 23, 2017, 06:20:26 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2864
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Sorry I didn't notice those were backslahes, not forwardslahes  :-[

Not used to seeing them  .. I never use "dir" in Linux, I always use "ls" instead.



If you're getting I/O errors and this USB stick is formatted as FAT32 or NTFS you'd be best running a file system check on it in Windows.

Beyond that, copy off what you want to keep, and format the entire USB stick with the USB Stick Formatter .. then copy the stuff back
« Last Edit: January 23, 2017, 06:30:38 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1936
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
this is the old sata harddrive from the hpG6, which is now residing in an external USB drive holding my obsessive compulsive backups...

https://jet.com/product/Thermaltake-BlacX-Duet-Hard-Drive-Enclosure-Docking-Station-Black-ST0014U-C

all taken care of now...
« Last Edit: January 23, 2017, 07:02:02 pm by spence »
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.