OK IC
thats not a problem of insufficient rights but about missing directories in the receiving directory. Sorry for missing out that problem. If you have enough disk space, you could use cp instead of mv, which is even a more safe way. Code:
find /home/ununun/music/ -type f -print | grep [^[:print:]] | while read file; do N=$(echo $file | tr -cd '[:print:]'); cp -rv "$file" "$N" ; done You said Quote:
Is "/home/manish == /home/ununun"? I just want to understand your configuration right. |
Quote:
Code:
# find /home/manish/music/ -print | grep '[^[:print:]]' thanks |
you have used
Quote:
Code:
....cp -irv "$file" "$N".... Quote:
To check that see if you got any directories of the source "/home/manish/music/..." in "/home/ununun/music/..." or whatever your destination is. What is your current directory when starting the command? |
All times are GMT -5. The time now is 11:04 PM. |