Hi All,
I have named a file with current date,time and year as follows:
month=`date | awk '{print $2}'`
date=`date | awk '{print $3}'`
year=`date | awk '{print $6}'`
time=`date +%Hh_%Mm_%Ss'`
filename="test_"$month"_"$date"_"$year"_"$time".txt"
> $filename
The file is created with a... (2 Replies)
hi:
i have several thousand files from users and of course they use all kind of characters on filenames. I have things like:
My special report (1999 ) Lisa & Jack's work.doc
crazy.
How do I remove all this characters in the current dir and subdirs too?
Thanks. (3 Replies)
Hi all,
I am trying to write a script that will delete a certain amount of text from the end of a filename.
For example.
Input:
name of file (more text).pdf
Output:
name of file.pdf
So is it possible to write a script the deletes, in this example twelve (12) digits from the end... (6 Replies)
I am trying to analyse a large file of sequencing data, example of first 10 lines below,
@HWUSI-EAS656_0044_FC:7:1:2447:1039#GCAATT/1
GNCTATGGCTTGCCGGGCTCAGGGAAGACAATCATAGCCATGAAAATCATGGAAAAGATCAGAAAAACATTTCAA
+HWUSI-EAS656_0044_FC:7:1:2447:1039#GCAATT/1... (1 Reply)
Hi,
I am new to Sed and would like to know if it is possible to remove the characters .
I have a couple of files with a keyword and would like to remove the substring.
I am Using sed s/// but Its not working
Thanks for your Support
Andrew Borg (2 Replies)
Hi all.. I have several unique files that contain one thing in common, and that is acct#. For all files in the directory, I want to append the 10 characters following the word "ACCOUNT:" to the end of the filename.
for example:
I have file 111_123 that contains ACCOUNT:ABC1234567
The file... (5 Replies)
Hello.
The token is any printable characters between 2 " .
The token is unknown, but we know that it is between 2 "
Tok 1 : "1234x567"
Tok 2 : "A3b6+None"
Tok 3 : "A3b6!1234=@"
The ligne is :
Line 1 :
"9876xABCDE"Do you have any code fragments or data samples in your post
Line 2 : ... (3 Replies)
Hi All!
Please can someone help, I have a dir with the following files:
~-rw-r--r-- 1 emmuser users 2087361 Oct 16 15:50 MPGGSN02_20131007234519_24291.20131007
-rw-r--r-- 1 emmuser users 2086837 Oct 16 15:50 MPGGSN02_20131007233529_24272.20131007
-rw-r--r-- 1 emmuser ... (7 Replies)
how can i remove numbers of characters from the last name of file with respect to not remove the files extension
example
VFX_Official_Trailer_(HD)__Shhh__-_by_Freddy_Chavez_Olmos_&_Shervin_Shoghian-.mp4
i want to rename this to
VFX-Official-Trailer-(HD)-Shhh... (13 Replies)
Hi,
I hope you can help me out please?
I need to replace from character 8-16 with AAAAAAAA and the rest should stay the same after character 16
gtwrhtrd11111111rjytwyejtyjejetjyetgeaEHT
wrehrhw22222222hytekutkyukrylryilruilrGEQTH
hrwjyety33333333gtrhwrjrgkreglqeriugn;RUGNEURGU
... (4 Replies)
Discussion started by: stinkefisch
4 Replies
LEARN ABOUT DEBIAN
recovermov
RECOVERMOV(1) User Commands RECOVERMOV(1)NAME
recovermov - recover movies from a filesystem image
SYNOPSIS
recovermov [options] device
DESCRIPTION
Recovermov tries to identify mov movies from a filesystem image. To achieve this goal, it scans the filesystem image and looks for a mov
structure at blocks starting at 512 bytes boundaries.
OPTIONS -h Display an help message.
-b blocksize
Set the size of blocks in bytes. On most file systems, setting it to 512 (the default) will work fine as any large file will be
stored on 512 bytes boundaries. Setting it to 1 maximize the chances of finding very small files if the filesystems aggregates them
(UFS for example) at the expense of a much longer running time.
-i integerindex
Set the initial index value for image numbering (default: 0).
-n basename
Basename to use to create the salvaged files. Default is video_.
All the sizes may be suffixed by a k, m or g letter to indicate KiB, MiB or GiB. For example, 6m correspond to 6 MiB (6291456
bytes).
EXAMPLES
Recover as many movies as possible from the memory card located in /dev/sdc:
recovermov /dev/sdc
Recover as many movies as possible from a crashed ReiserFS file system (which does not necessarily store files at block boundaries) in
/dev/hdb1:
recovermov -b 1 /dev/hdb1
AUTHOR
Recovermov has been written by Jan Funke <jan.funke@inf.tu-dresden.de>.
COPYRIGHT
Copyright (c) 2010 Jan Funke <jan.funke@inf.tu-dresden.de>. This is free software; see the source for copying conditions. There is NO war-
ranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO recoverjpeg(1)recovermov January 2010 RECOVERMOV(1)