Sponsored Content
Full Discussion: Odd file with no name
Top Forums UNIX for Dummies Questions & Answers Odd file with no name Post 57996 by Kelam_Magnus on Thursday 11th of November 2004 03:25:12 PM
Old 11-11-2004
I agree,

My best way to remove odd files is with:

# rm ./filename


This ensures you wont do anything stupid like wiping out all files in the directory. I believe quotes work as well.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Odd File Listing and unable to deleted

Hi, I'm trying to delete some files that are causing a script to malfunction. I cannot seem to remove them even with -f. I have tried chmod and chown and they don't seem to be affected the files at all. they have weird dates listings, too. Here is their listing: br-xr-xrwt 29561 538995051... (3 Replies)
Discussion started by: Jason Brice
3 Replies

2. UNIX for Dummies Questions & Answers

even odd script

I need a unix script that check for even or odd. EXAMPLE:::: please enter the number to check: 12 the output: This is an even number it has to have prompts. (2 Replies)
Discussion started by: snyper2k2
2 Replies

3. Shell Programming and Scripting

Odd and even file names

Hello, I want to sort/identify 600 files according to odd or even numbers in the files names. How can I do this? The goal is to perform different ImageMagick operations based on even or odd numbers in the file names. The file names have this pattern: bdf0001.tif, bdf0044.tif and bdf0136.tif ... (4 Replies)
Discussion started by: garganmou
4 Replies

4. UNIX for Dummies Questions & Answers

Finding the odd one out!

Hi guys, I wondered if someone would be able to help me. I have a number of files which all have entries in them looking something like; And I'm looking for a way where by I can compare a number of these files and identify the odd numbers in the sequence. So for example if I had to... (1 Reply)
Discussion started by: JayC89
1 Replies

5. Shell Programming and Scripting

odd problem in read lines from file

Hi, I wrote a small program to read lines from a file and count the lines. The program is as below: filename=$1 count=0 cat $filename | while read -r line do printf "%5d:%s\n" $count "$line" count=$((count + 1)) done echo " $count " After I run the program, the result is... (4 Replies)
Discussion started by: jianma
4 Replies

6. Solaris

Odd vi error

Hello, I have a weird think going on, on one of my servers. vi filename "/var/tmp" No such file or directory What going on here? (4 Replies)
Discussion started by: bitlord
4 Replies

7. Shell Programming and Scripting

Seperate Odd and Even numbers from 1 file to 2 files

Hey guys. I have been trying to figure out an easy way to seperate a liste of 150k numbers (10 digits) in a .txt file into odd and even numbers with each of their own files, for a project at work. I've tried Excel, but it was too much for it and it wasnt very simple. So i gave up after... (13 Replies)
Discussion started by: TranceC
13 Replies
NTFSWIPE(8)						      System Manager's Manual						       NTFSWIPE(8)

NAME
ntfswipe - overwrite unused space on an NTFS volume SYNOPSIS
ntfswipe [options] device DESCRIPTION
ntfswipe clears all or part of unused space on an NTFS volume by overwriting with zeroes or random bytes. OPTIONS
Below is a summary of all the options that ntfswipe accepts. Nearly all options have two equivalent names. The short name is preceded by - and the long name is preceded by --. Any single letter options, that don't take an argument, can be combined into a single command, e.g. -fv is equivalent to -f -v. Long named options can be abbreviated to any unique prefix of their name. -a, --all Wipe all unused space. This may take significant time. If the option --unused-fast (or -U) is also present, the faster wiping method is used. -b, --bytes BYTE-LIST Define the allowed replacement bytes which are drawn randomly to overwrite the unused space. BYTE-LIST is a comma-separated list of values in range 0-255 expressed in octal, decimal or hexadecimal base. -c, --count NUM Define the number of times the unused space is to be overwritten. If both options --bytes and --count are set, the space is repeat- edly overwritten this number of times by each of the values in the list. -d, --directory Wipe all the directory indexes, which may contain names of deleted files. -f, --force This will override some sensible defaults, such as not using a mounted volume. Use this option with caution. -h, --help Show a list of options with a brief description of each one. -i, --info Display details about unused space, without wiping anything. -l, --logfile Overwrite the logfile (update journal). -m, --mft Overwrite the unused space in the MFT (main file table, which contains the file names, and the contents of short files). -n, --no-action Executes the wiping process without writing to device. -p, --pagefile Overwrite the Windows swap space. -q, --quiet Suppress some debug/warning/error messages. -s, --undel Overwrite the space which had been allocated to a file which has been deleted recently and is still undeletable. This option is not compatible with --bytes and the replacement bytes are random ones or taken from a standard list. -t, --tails Overwrite the space at the end of files which is unused, but allocated because the allocations are always done by full clusters. -u, --unused Overwrite the space which is currently not allocated to any file (but may have been used in the past). -U, --unused-fast Overwrite the space which is currently not allocated to any file, trying not to overwrite the space not written to since the previ- ous wiping. -v, --verbose Display more debug/warning/error messages. This option may be used twice to display even more messages. -V, --version Show the version number, copyright and license of ntfswipe. EXAMPLES
Wipe out all unused space in an NTFS volume. ntfswipe -a /dev/sda1 Wipe out all deleted file names from an NTFS volume. ntfswipe -dms /dev/sda1 BUGS
There are no known problems with ntfswipe. If you find a bug please send an email describing the problem to the development team: ntfs-3g-devel@lists.sf.net AUTHORS
ntfswipe was written by Richard Russon, Anton Altaparmakov and Yura Pakhuchiy. It was ported to ntfs-3g by Erik Larsson. AVAILABILITY
ntfswipe is part of the ntfs-3g package and is available from: http://www.tuxera.com/community/ SEE ALSO
ntfs-3g(8), ntfsls(8), ntfsprogs(8) ntfs-3g 2017.3.23 June 2014 NTFSWIPE(8)
All times are GMT -4. The time now is 01:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy