|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
[solved] special character problem
Hello
i have a .mp4 file which i will convert to .mp3 but i can't escape the characters at the beginning ~ _ Notis Sfakianakis ~ Dose ena telos-uAGmYjSm_i8.mp4 i hope someone can help me Last edited by kerasi; 20th January 2016 at 07:39 PM. Reason: my question was solved thats why i typed solved |
|
||||
If you must use fsdb(8)...
... be sure to read its manual. Here is an example of using its chname subcommand to rename a file.
I have created this simple filesystem, containing the directory structure path/to/directory and the innermost directory, directory holds two files: "a.file" and the file I wish to change, "bad.file". Code:
$ ls -R path ./path: to ./path/to: directory ./path/to/directory: a.file bad.file Code:
# fsdb -f /dev/rvnd0a ** /dev/rvnd0a ** File system is already clean Editing file system `/dev/rvnd0a' Last mounted on /mnt current inode: directory I=2 MODE=40755 SIZE=512 . . . OWNER=root GRP=wheel LINKCNT=3 FLAGS=0 BLKCNT=4 GEN=eac5a82a fsdb (inum: 2)> cd /path/to/directory . . . component `directory': current inode: directory I=642 MODE=40755 SIZE=512 . . . OWNER=root GRP=wheel LINKCNT=2 FLAGS=0 BLKCNT=4 GEN=9408be79 fsdb (inum: 642)> ls slot 0 ino 642 reclen 12: directory, `.' slot 1 ino 641 reclen 12: directory, `..' slot 2 ino 643 reclen 16, regular, `a.file' slot 3 ino 643 reclen 472: regular, `bad.file' fsdb (inum: 642)> chname 3 good.file fsdb (inum: 642)> ls slot 0 ino 642 reclen 12: directory, `.' slot 1 ino 641 reclen 12: directory, `..' slot 2 ino 643 reclen 16, regular, `a.file' slot 3 ino 643 reclen 472: regular, `good.file' fsdb (inum: 642)> quit *** FILE SYSTEM MARKED DIRTY *** BE SURE TO RUN FSCK TO CLEAN UP ANY DAMAGE *** IF IT WAS MOUNTED, RE-MOUNT WITH -u -o reload # Last edited by jggimi; 7th December 2015 at 06:46 PM. Reason: typo |
|
|||
Hello :-)
Thank you very very much jggimi it works :-) mv *i8.mp4 my.video.mp4 i wish all of you a happy new year Tasos |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
special characters missing? | Franciscus | NetBSD Installation and Upgrading | 2 | 6th June 2013 09:05 AM |
HOWTO: ISO-8859-1 Character Set on NetBSD | JMJ_coder | Guides | 0 | 25th February 2009 12:53 AM |
Big5 Character Set in Apache problem after upgrade to 6.4 | paul-lkw | FreeBSD Installation and Upgrading | 0 | 23rd February 2009 09:20 AM |
postgresql chinese character problem | gosha | OpenBSD Packages and Ports | 2 | 8th June 2008 09:37 PM |