5

No such file or directory error when using xargs

view full story
linux-howto

http://unix.stackexchange.com – I have some files with .mkv extension and I want to calculate their total size using du -h. Some of the files are preceded by whitespace characters. ranveer@ranveer:~$ ls *.mkv Arrow.S01E02.720p.HDTV.X264-DIMENSION_(1) [SHYAMPAREEK.IN].mkv mymediafirefreefreak.com_The.Mentalist.S05E04.480p.HDTV.X264-mRS.mkv SHYAMPAREEK.IN-The.Vampire.Diaries.S04E02.720p.HDTV.X264-DIMENSION_(1).mkv Supernatural.S08E03.720p.HDTV.X264-DIMENSION_(1)SHYAMPAREEK.IN].mkv [WWW.SHYAMPAREEK.IN].Arrow S01E01 480p HDTV.mkv [WWW.SHYAMPAREEK.IN].Castle.2009.S05E03.480p.HDTV.x264-mSD.mkv ranveer@ranveer:~$ Now, I am (HowTos)