Sponsored Content
Full Discussion: Undeletable file
Operating Systems OS X (Apple) Undeletable file Post 303036948 by dpontius on Thursday 18th of July 2019 03:06:19 PM
Old 07-18-2019
Thanks so much for the prompt ideas. Unfortunately, none have succeeded. I've repeated tried to delete by dragging and always get "The operation can't be completed because an unexpected error occurred (error code -50)." The file is in a folder by itself that I've tried to delete the entire folder, but that won't work either.

Latest attempts:

Single quotes
Code:
12FX009:5 dpontius$ rm '␀␀Word Finder® Plus™'
rm: ␀␀Word Finder® Plus™: Invalid argument

rename with testname in tmp folder:
12FX009:5 dpontius$ mv '␀␀Word Finder® Plus™' /tmp/testname 
mv: rename ␀␀Word Finder® Plus™ to /tmp/testname: Invalid argument

Permissions look fine:
12FX009:5 dpontius$ ls -l
total 48
-rwxr-xr-x@ 1 dpontius  staff  0 Feb 27  1992 ␀␀Word Finder® Plus™

Delete with wildcards:
12FX009:5 dpontius$ rm -i ./*Word*
remove ./␀␀Word Finder® Plus™? y
rm: ./␀␀Word Finder® Plus™: Invalid argument

Throughout, the little bugger is still there. No trailing spaces present. I find it interesting to see the unicode characters wisecracker revealed. Does anyone know how to use that information to identify a file to delete?

Much obliged.

cheers,
dp
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

undeletable file

when i try to ls -lrt the directory, the "undeletable" file is listed. but when i try to ls -lrt *exe, the "undeletable" file is not listed. this "undeletable" is the file that i want to delete from the directory. but when i try to delete/rename/copy.... it, it show that "No such file or... (10 Replies)
Discussion started by: chxxangie
10 Replies

2. UNIX for Dummies Questions & Answers

Files.... undeletable.

I've some files created by a script. For some reason last time the script run was interrupted for an error and the files produced by the script are undeletable. i've tryed as root with command 'rm' and even if i got no error in command execution the files are still there. These are the... (9 Replies)
Discussion started by: mirrorx
9 Replies

3. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies

4. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

5. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
PDB(4)																	    PDB(4)

NAME
PDB - (Pilot Database) file format SYNOPSIS
#define dmDBNameLength 32/* 31 chars + 1 null terminator */ struct pdb_header { /* 78 bytes total */ char name[ dmDBNameLength ]; Word attributes; Word version; DWord create_time; DWord modify_time; DWord backup_time; DWord modificationNumber; DWord appInfoID; DWord sortInfoID; char type[4]; char creator[4]; DWord id_seed; DWord nextRecordList; Word numRecords; }; struct pdb_rec_header { /* 8 bytes total */ DWord offset; struct { int delete : 1; int dirty : 1; int busy : 1; int secret : 1; int category : 4; } attributes; char uniqueID[3]; } DESCRIPTION
The PDB (Pilot Database) file format is used by all models of the Palm Pilot and IBM Workpad. The format consists of a header followed by a set of record headers followed by the records themselves. Word Sizes In the SYNOPSIS above, the types ``Byte,'' ``Word,'' and ``DWord'' are used just as in the Pilot headers. The type ``Byte'' is 8 bits; ``Word'' is 16 bits; ``DWord'' is 32 bits. The latter two are in big-endian format. CAVEATS
1. The C structures given in the SYNOPSIS above are illustrative and most likely will not work in actual C code since compilers align data members on word boundaries. 2. The PDB file format presented here is not official and was written at the time when PDB file format was not public. It is possibly out- dated. The official standard is available on the Palm web page. (SEE ALSO) SEE ALSO
txt2pdbdoc(1), html2pdbtxt(1), pdbtxt2html(1), doc(4) Palm Computing Inc. Palm File Format Specification, 2000. http://www.palmos.com/dev/support/docs/fileformats/front.html AUTHOR
Paul J. Lucas <pauljlucas@mac.com> Updated by Erik Schanze <eriks@debian.org> txt2pdbdoc August 20, 2005 PDB(4)
All times are GMT -4. The time now is 12:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy