<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>File on Michael’s Domain</title><link>https://jeltsch.org/en/tags/file/</link><description>Recent content in File on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/file/index.xml" rel="self" type="application/rss+xml"/><item><title>Deleting files with "illegal characters"</title><link>https://jeltsch.org/en/deleting_files_with_illegal_characters/</link><pubDate>Fri, 08 Sep 2017 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/deleting_files_with_illegal_characters/</guid><description>&lt;p&gt;In the cross-platform environment of our university, at least three different OS connect to the smb shared group directories. Apparently Macs are able to save files with characters that are not allowed on other platforms and which cannot be easily deleted. Recently we had several files which ended with a &amp;lsquo;.&amp;rsquo; (dot) or a &amp;rsquo; &amp;rsquo; (space), and we were not able to remove them via the GUI. In Windows 7, I managed via the command line with:&lt;code&gt;delete &amp;quot;file.&amp;quot;&lt;/code&gt; or&lt;code&gt;delete &amp;quot;file &amp;quot;&lt;/code&gt;I have, however, not found a way to so from my Ubuntu machine and it is annoying to boot into Windows merely to delete some files. Unfortunately, this became necessary because the 
 &lt;a href="https://www.cloudberrylab.com" target="_blank" rel="noopener noreferrer nofollow"&gt;Cloudberry&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 backup system (which is running on Ubuntu) chokes on such files. I am looking into a new backup system for our lab&amp;rsquo;s computers since 
 &lt;a href="https://www.crashplan.com" target="_blank" rel="noopener noreferrer nofollow"&gt;CrashPlan&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 decided to discontinue support for non-business customers…&lt;/p&gt;</description></item><item><title>How to determine and convert text file encoding (file, enca, iconv)</title><link>https://jeltsch.org/en/how_to_determine_and_convert_text_file_encoding_file_enca_iconv/</link><pubDate>Wed, 22 Apr 2009 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/how_to_determine_and_convert_text_file_encoding_file_enca_iconv/</guid><description>&lt;p&gt;To determine the file type of the file &amp;ldquo;sample.txt&amp;rdquo; you just type:&lt;code&gt;file sample.txt&lt;/code&gt;Usually it&amp;rsquo;ll tell you only that it is a text file. To get to know more about the encoding type:&lt;code&gt;enca -L none sample.text&lt;/code&gt;The -L switch tells the program what language is used in the file. If you don&amp;rsquo;t know, just use none.To convert the encoding from ISO-8859-1 (latin1) to UTF-8:&lt;code&gt;iconv --from-code=ISO-8859-1 --to-code=UTF-8 sample_iso8859-1.txt &amp;gt; sample_utf-8.txt&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>