ls without parameters - No such File or Directory
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
while creating a backup of a Windows PC I encountered an odd File. I first discovered it while copying the parent backup where exactly the same error came up.
Note that I masked all [A-Za-z0-9]
with a X for the customers privacy.
Output of ls
:
ls: cannot access 'XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4': No such file or directory
[Other Files in Folder]
XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
Output of ls -l
:
-????????? ? ? ? ? ? XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
What I've already tried:
sudo ls
file [Filename]
sudo chmod 777 [Filename]
sudo mv *.mp4 foo.mp4
sudo ls -l
Now I've run out of ideas and hope you can help.
UPDATE:
Windows can't do anything with the file either (File not found)
I also tried to see the hex representations of the name but I only get the usual ascii values.
files filesystem directory ls mv
add a comment |Â
up vote
1
down vote
favorite
while creating a backup of a Windows PC I encountered an odd File. I first discovered it while copying the parent backup where exactly the same error came up.
Note that I masked all [A-Za-z0-9]
with a X for the customers privacy.
Output of ls
:
ls: cannot access 'XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4': No such file or directory
[Other Files in Folder]
XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
Output of ls -l
:
-????????? ? ? ? ? ? XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
What I've already tried:
sudo ls
file [Filename]
sudo chmod 777 [Filename]
sudo mv *.mp4 foo.mp4
sudo ls -l
Now I've run out of ideas and hope you can help.
UPDATE:
Windows can't do anything with the file either (File not found)
I also tried to see the hex representations of the name but I only get the usual ascii values.
files filesystem directory ls mv
"while creating a backup of a Windows PC I encountered an odd File. " I would advice to use windows tools for problems related to windows filesystems. The filename might make sense for Windows and not for Linux. Mind that it is custom to try auto complete with tabs to make Linux take into account special characters. Or to encluse the filename with quotes. Warning: if this is caused by filesystem problems on the Windows PC you will make things worse. I would use the generic windows tools to have windows have a 1st attempt at this.
â Rinzwind
May 15 at 13:24
It doesn't... I should probably edited that in. Windows doesn't find the path bit displays the file with its supposedly correct size (about 700M) and everything I know about Powershell and Bash for Windows doesn't work either
â poldi1405
May 15 at 13:28
Is the external disk formatted as FAT? How many characters is the length of filename including its subdirectories? For example if it's:/path/to/the/file/music.mp3
it would be 19 (or 23 if slashes are counted). I'm asking because there's a character limit on filenames of 255 on FAT disks. If you go over that, your files will break.
â Dan
May 15 at 13:58
@Dan it's NTFS so path length isn't much of a problem
â poldi1405
May 15 at 14:00
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
while creating a backup of a Windows PC I encountered an odd File. I first discovered it while copying the parent backup where exactly the same error came up.
Note that I masked all [A-Za-z0-9]
with a X for the customers privacy.
Output of ls
:
ls: cannot access 'XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4': No such file or directory
[Other Files in Folder]
XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
Output of ls -l
:
-????????? ? ? ? ? ? XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
What I've already tried:
sudo ls
file [Filename]
sudo chmod 777 [Filename]
sudo mv *.mp4 foo.mp4
sudo ls -l
Now I've run out of ideas and hope you can help.
UPDATE:
Windows can't do anything with the file either (File not found)
I also tried to see the hex representations of the name but I only get the usual ascii values.
files filesystem directory ls mv
while creating a backup of a Windows PC I encountered an odd File. I first discovered it while copying the parent backup where exactly the same error came up.
Note that I masked all [A-Za-z0-9]
with a X for the customers privacy.
Output of ls
:
ls: cannot access 'XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4': No such file or directory
[Other Files in Folder]
XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
Output of ls -l
:
-????????? ? ? ? ? ? XXX XXXXX XXXX XX XXX XXXX?(XXXXXX XXXXXX).mp4
What I've already tried:
sudo ls
file [Filename]
sudo chmod 777 [Filename]
sudo mv *.mp4 foo.mp4
sudo ls -l
Now I've run out of ideas and hope you can help.
UPDATE:
Windows can't do anything with the file either (File not found)
I also tried to see the hex representations of the name but I only get the usual ascii values.
files filesystem directory ls mv
edited May 15 at 13:31
asked May 15 at 12:24
![](https://i.stack.imgur.com/nRGDM.png?s=32&g=1)
![](https://i.stack.imgur.com/nRGDM.png?s=32&g=1)
poldi1405
63
63
"while creating a backup of a Windows PC I encountered an odd File. " I would advice to use windows tools for problems related to windows filesystems. The filename might make sense for Windows and not for Linux. Mind that it is custom to try auto complete with tabs to make Linux take into account special characters. Or to encluse the filename with quotes. Warning: if this is caused by filesystem problems on the Windows PC you will make things worse. I would use the generic windows tools to have windows have a 1st attempt at this.
â Rinzwind
May 15 at 13:24
It doesn't... I should probably edited that in. Windows doesn't find the path bit displays the file with its supposedly correct size (about 700M) and everything I know about Powershell and Bash for Windows doesn't work either
â poldi1405
May 15 at 13:28
Is the external disk formatted as FAT? How many characters is the length of filename including its subdirectories? For example if it's:/path/to/the/file/music.mp3
it would be 19 (or 23 if slashes are counted). I'm asking because there's a character limit on filenames of 255 on FAT disks. If you go over that, your files will break.
â Dan
May 15 at 13:58
@Dan it's NTFS so path length isn't much of a problem
â poldi1405
May 15 at 14:00
add a comment |Â
"while creating a backup of a Windows PC I encountered an odd File. " I would advice to use windows tools for problems related to windows filesystems. The filename might make sense for Windows and not for Linux. Mind that it is custom to try auto complete with tabs to make Linux take into account special characters. Or to encluse the filename with quotes. Warning: if this is caused by filesystem problems on the Windows PC you will make things worse. I would use the generic windows tools to have windows have a 1st attempt at this.
â Rinzwind
May 15 at 13:24
It doesn't... I should probably edited that in. Windows doesn't find the path bit displays the file with its supposedly correct size (about 700M) and everything I know about Powershell and Bash for Windows doesn't work either
â poldi1405
May 15 at 13:28
Is the external disk formatted as FAT? How many characters is the length of filename including its subdirectories? For example if it's:/path/to/the/file/music.mp3
it would be 19 (or 23 if slashes are counted). I'm asking because there's a character limit on filenames of 255 on FAT disks. If you go over that, your files will break.
â Dan
May 15 at 13:58
@Dan it's NTFS so path length isn't much of a problem
â poldi1405
May 15 at 14:00
"while creating a backup of a Windows PC I encountered an odd File. " I would advice to use windows tools for problems related to windows filesystems. The filename might make sense for Windows and not for Linux. Mind that it is custom to try auto complete with tabs to make Linux take into account special characters. Or to encluse the filename with quotes. Warning: if this is caused by filesystem problems on the Windows PC you will make things worse. I would use the generic windows tools to have windows have a 1st attempt at this.
â Rinzwind
May 15 at 13:24
"while creating a backup of a Windows PC I encountered an odd File. " I would advice to use windows tools for problems related to windows filesystems. The filename might make sense for Windows and not for Linux. Mind that it is custom to try auto complete with tabs to make Linux take into account special characters. Or to encluse the filename with quotes. Warning: if this is caused by filesystem problems on the Windows PC you will make things worse. I would use the generic windows tools to have windows have a 1st attempt at this.
â Rinzwind
May 15 at 13:24
It doesn't... I should probably edited that in. Windows doesn't find the path bit displays the file with its supposedly correct size (about 700M) and everything I know about Powershell and Bash for Windows doesn't work either
â poldi1405
May 15 at 13:28
It doesn't... I should probably edited that in. Windows doesn't find the path bit displays the file with its supposedly correct size (about 700M) and everything I know about Powershell and Bash for Windows doesn't work either
â poldi1405
May 15 at 13:28
Is the external disk formatted as FAT? How many characters is the length of filename including its subdirectories? For example if it's:
/path/to/the/file/music.mp3
it would be 19 (or 23 if slashes are counted). I'm asking because there's a character limit on filenames of 255 on FAT disks. If you go over that, your files will break.â Dan
May 15 at 13:58
Is the external disk formatted as FAT? How many characters is the length of filename including its subdirectories? For example if it's:
/path/to/the/file/music.mp3
it would be 19 (or 23 if slashes are counted). I'm asking because there's a character limit on filenames of 255 on FAT disks. If you go over that, your files will break.â Dan
May 15 at 13:58
@Dan it's NTFS so path length isn't much of a problem
â poldi1405
May 15 at 14:00
@Dan it's NTFS so path length isn't much of a problem
â poldi1405
May 15 at 14:00
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036509%2fls-without-parameters-no-such-file-or-directory%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
"while creating a backup of a Windows PC I encountered an odd File. " I would advice to use windows tools for problems related to windows filesystems. The filename might make sense for Windows and not for Linux. Mind that it is custom to try auto complete with tabs to make Linux take into account special characters. Or to encluse the filename with quotes. Warning: if this is caused by filesystem problems on the Windows PC you will make things worse. I would use the generic windows tools to have windows have a 1st attempt at this.
â Rinzwind
May 15 at 13:24
It doesn't... I should probably edited that in. Windows doesn't find the path bit displays the file with its supposedly correct size (about 700M) and everything I know about Powershell and Bash for Windows doesn't work either
â poldi1405
May 15 at 13:28
Is the external disk formatted as FAT? How many characters is the length of filename including its subdirectories? For example if it's:
/path/to/the/file/music.mp3
it would be 19 (or 23 if slashes are counted). I'm asking because there's a character limit on filenames of 255 on FAT disks. If you go over that, your files will break.â Dan
May 15 at 13:58
@Dan it's NTFS so path length isn't much of a problem
â poldi1405
May 15 at 14:00