01-06-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys,
I want to copy folder and sub folders only. I don't want the files. If i use cp -r command it will copy entirely with files.
Could any one suggest me.
Thanks in advance (1 Reply)
Discussion started by: karthik82
1 Replies
2. UNIX for Advanced & Expert Users
Scenario:
I would want to copy my / to /mnt, and to avoid recursion exclude /mnt.
cp -avx / /mnt
If i use the above i believe it would run recursively, and end up in mess. So how to do it ?!
Basically this / is sda1, and /mnt is sda2 and sda1 is where only OS is available & currently... (2 Replies)
Discussion started by: thegeek
2 Replies
3. UNIX for Advanced & Expert Users
Hi
I want to copy the structure from one place to another.
-> cd /hol/;
-> find . -type d | cpio -pvdm /abc/cat;
while copying the structure I want to exclude some directories like test1 and Test.
I have read somewhere that this can be done with -prune option.
Could anyone... (2 Replies)
Discussion started by: soumodeep123
2 Replies
4. UNIX for Dummies Questions & Answers
I'm Unix. I'm looking at "df" on Unix now and below is an example. It's lists the filesystems out in 512-blocks, I need this in 4k blocks. Is there a way to do this in Unix or do I manually convert and how?
So for container 1 there is 7,340,032 in size in 512-blocks. What would the 4k block be... (2 Replies)
Discussion started by: rockycj
2 Replies
5. Shell Programming and Scripting
Hello,
I have a file like this:
FILE.TXT:
(define argc :: int)
(assert ( > argc 1))
(assert ( = argc 1))
<check>
#
(define c :: float)
(assert ( > c 0))
(assert ( = c 0))
<check>
#
now, i want to separate each block('#' is the delimeter), make them separate files, and then send them as... (5 Replies)
Discussion started by: paramad
5 Replies
6. UNIX for Dummies Questions & Answers
How can I recursively find all files in a directory and print out the file and first line number of any text blocks that match the below cases?
This would seem to involve find, xargs, *grep, regex, etc.
In summary, I want to find so-called empty "try-catch blocks" that do not contain code... (0 Replies)
Discussion started by: lifechamp
0 Replies
7. Shell Programming and Scripting
my directory structure is like below:
basedir\
p.txt
q.htm
r.java
b\
abc.htm
xyz.java
c\
p.htm
q.java
rst.txt
my requirement is i want to copy all the files and directories... (0 Replies)
Discussion started by: ajayyadavmca
0 Replies
8. Shell Programming and Scripting
Hello,
Searched for a while and found some "line-to-column" script. My case is similar but with multiple fields each row:
S02 Length Per
S02 7043 3.864
S02 54477 29.89
S02 104841 57.52
S03 Length Per
S03 1150 0.835
S03 1321 0.96
S03 ... (9 Replies)
Discussion started by: yifangt
9 Replies
9. UNIX for Dummies Questions & Answers
How to Copy non-empty files into subdirectory
I have directory A
there are bunch of files: a.txt a.txt.target b.txt b.target.txt.......
How can i find out the non-empty file within *.txt.target and copy them into a subdirectory B?
Thank you. (2 Replies)
Discussion started by: grace_shen
2 Replies
10. Web Development
I have an input form with several fields. What I would like to achieve is to auto populate or copy certain fields if they are empty when the form is submitted. I would like to use php if not then javascript but not jquery if possible - I have sort of had a go but I really have no idea... (4 Replies)
Discussion started by: barrydocks
4 Replies
LEARN ABOUT LINUX
ntfsprogs
NTFSPROGS(8) System Manager's Manual NTFSPROGS(8)
NAME
ntfsprogs - tools for doing neat things with NTFS
OVERVIEW
ntfsprogs is a suite of NTFS utilities based around a shared library. The tools are available for free and come with full source code.
TOOLS
mkntfs(8) - Create an NTFS filesystem.
ntfscat(8) - Dump a file's content to the standard output.
ntfsclone(8) - Efficiently clone, backup, restore or rescue NTFS.
ntfscluster(8) - Locate the files which use the given sectors or clusters.
ntfscmp(8) - Compare two NTFS filesystems and tell the differences.
ntfscp(8) - Copy a file to an NTFS volume.
ntfsfix(8) - Check and fix some common errors, clear the LogFile and make Windows perform a thorough check next time it boots.
ntfsinfo(8) - Show information about NTFS or one of the files or directories within it.
ntfslabel(8) - Show, or set, an NTFS filesystem's volume label.
ntfsls(8) - List information about files in a directory residing on an NTFS.
ntfsresize(8) - Resize NTFS without losing data.
ntfsundelete(8) - Recover deleted files from NTFS.
AUTHORS
The tools were written by Anton Altaparmakov, Carmelo Kintana, Cristian Klein, Erik Sornes, Giang Nguyen, Holger Ohmacht, Lode Leroy,
Matthew J. Fanto, Per Olofsson, Richard Russon, Szabolcs Szakacsits, Yura Pakhuchiy and Yuval Fledel.
AVAILABILITY
The ntfsprogs are part of the ntfs-3g package which can be downloaded from:
http://www.tuxera.com/community/
SEE ALSO
ntfs-3g(8)
ntfs-3g 2011.4.12AR.4 September 2007 NTFSPROGS(8)