One can launch GUI programs, for example, gv or xpdf from vifm in background in vifm's command line:
:!gv %f &
However, if gv is launched by pressing Enter on a file like aPSfile.ps in vifm, it blocks the vifm. Is it possible to run it in the background as well when it is launched this way?
I am organizing my music library on a NAS server. I want to print a list of all the directories that are missing the cover art (at least one or more jpeg file). I have successfully created a file with each line containing the path to each occurance of one or more .mp3 files.
As far as I understand, the usual way to add a path to the PATH environment variable is by concatenating paths separated by the : character.
Hi. I was wondering if dmenu could be used to open [Thunar|pcfman|etc] directly in a specific directory. Just as it runs a command that is on a list (and it does it fast!)...
In a GUI file manager it is possible to select a few files, press Ctrl-C (which supposedly copies come info about the files to clipboard), then navigate to another folder and press Ctrl-V, which will then copy the files into that directory.
As an experiment, after copying files in the file manager, it is possible to switch to a text editor - pressing Ctrl-V there pastes a list of absolute filenam
Hi all,
I have upgraded recently to Ubuntu 12.10 with Cinnamon 1.6.3.
When I want to use Archive Manager (file-roller 3.6.0) with Nautilus 3.4.2 I cannot add files to an existing zip archive.
(1) When I try to add a file using Archive Manager's menu: Add File nothing happens
(2) When I drag&drop a pdf file to an existing zip archive I get "You can't add an archive to itself"
(3) W
Hi.
I'm trying to get the names of files from a log file, without the path and special characters.
I have a file that contains lines like this:
Code:
'/path/to/files/file00010000070874.EXT'
'/path/to/files/file00010000070875.EXT'
'/path/to/files/file00010000070876.EXT'
'/path/to/files/file00010000070877.EXT'
'/path/to/files/file00010000070878.EXT'
'/path/to/files/file00010000070879.EXT'
'/p
I would like to use sed to convert a path with backslashes to the same path with forward slashes:
E.g.
I would like to pipe \\path\to\file\ and obtain /path/to/file
None of the following commands work, and I can't tell why:
First attempt:
> echo '\\path\to\file\' | sed 's/\\/\//g'
/path o
ile/
Second attempt:
echo \\path\to\file\ | sed 's/\\/\//g'
/pathtofile
Third attempt
Hi,
To Archive files, I try to move files from one directory to another directory . So i used the below logic,
Code:
#!/bin/ksh
****Archive*****
mv ${DATA_DIR}/ABC_.dat ${ARCHIVE}
So if i give the complete file name its working fine.