Try
This doesn't check for three digits but allows for anything after the first digit; this may need some refinement. If the results comes close to what you need, remove the echo for real action.
All
Please help me to remove old files. For example
/usr/exp/ - inside this
Apr 02 - dir02
Apr 03 - dir03
Apr 04 - dir04
Apr 05 - dir05
Apr 06 - dir06
Apr 07 - dir07
Apr 03 - file03
I want to delete all the folders 2 days before created.Not the fil03 even though it is 2 days old. ... (1 Reply)
Is there a command I can use to rename all directories with a certain name to a new name. For instance from my root directory I want to change all folders named '123' to '321' that are in the root directory or any subdirectory.
Thanks in advance! (6 Replies)
Hi,
This is what I would like to do.
1. Find all directories named "ByHost" in a specified directory
2. Rename all .plist files inside "ByHost" directories
This is the way I have been able to do it so far.
#!/bin/sh
#
# Rename ByHost files
#
# Thomas Berglund, 13.07.08
# Get the... (2 Replies)
I have multiple subfolders with multiple jpg
I want the group of files in each subfolder renamed to their index number (3 digits) in the folder, so:
folder/a.jpg = folder/001.jpg
folder/b.jpg = folder/002.jpg
folder/c.jpg = folder/003.jpg
folder2/1.jpg = folder2/001.jpg
folder2/2.jpg =... (2 Replies)
Hello,
I have a folder that contains all my music. Recently, I started using a different media player, and I let it manage my music folder. It has sorted all my music neatly in folders by artist and album. However, all the old folders that the songs used to be in are still there, yet they are... (2 Replies)
I use an extremely simple TAR function for files at work and I have a question about cleaning them up.
My command is TAR -cvf ExampleTarName.tar then the folder I wish to TAR.
When my TAR finishes and I double click it to check it unarchived beautifully (I don't do this with every file, duh)... (5 Replies)
Hi,
I need a way to remove all folders that contain "Quick" in their names in a directory called /var/tmp...
However all attemps I have tried won't work. :wall:
I so far tried
find /var/tmp -type d -name "Quick" | sudo xargs rm -rf
find . -name "Quicklook" -exec rm -rf {} \;
find .... (2 Replies)
Hello!
I am new to this. I have many files from b_ap00 to b_ap80, and I need to move them to folder 00 to 80 respectively, where b_ap00 is in folder 00, b_ap01 is in folder 01.
On top of this, I need to rename the file once they are inside the folder to b_ot, and subsequently run it (ifort -o... (8 Replies)
Hello -
I was looking to write a simple script trying to rename sub-directories chopping off the last n characters.
For example:
In /home/myname/dir there are three sub-directories: directory1_1, directory2_2, and directory3_3.
Is there a simple script to chop off the last... (4 Replies)
Hello everyone,
Posting here after a long time, been away from unix world lately and it seems I have forgotten my shell scripting completely. I have a requirement where a csv file contains following columns:
Full Registration VIN Stock... (14 Replies)
Discussion started by: tayyabq8
14 Replies
LEARN ABOUT DEBIAN
calibre-server
CALIBRE-SERVER(1) calibre CALIBRE-SERVER(1)NAME
calibre-server - part of calibre
SYNOPSIS
calibre-server [options]
DESCRIPTION
Start the calibre content server. The calibre content server exposes your calibre library over the internet. The default interface allows
you to browse you calibre library by categories. You can also access an interface optimized for mobile browsers at /mobile and an OPDS
based interface for use with reading applications at /opds.
The OPDS interface is advertised via BonJour automatically.
Whenever you pass arguments to calibre-server that have spaces in them, enclose the arguments in quotation marks.
OPTIONS --version
show program's version number and exit
-h, --help
show this help message and exit
-p, --port
The port on which to listen. Default is 8080
-t, --timeout
The server timeout in seconds. Default is 120
--thread-pool
The max number of worker threads to use. Default is 30
--password
Set a password to restrict access. By default access is unrestricted.
--username
Username for access. By default, it is: 'calibre'
--develop
Development mode. Server automatically restarts on file changes and serves code files (html, css, js) from the file system instead
of calibre's resource system.
--max-cover
The maximum size for displayed covers. Default is '600x800'.
--max-opds-items
The maximum number of matches to return per OPDS query. This affects Stanza, WordPlayer, etc. integration.
--max-opds-ungrouped-items
Group items in categories such as author/tags by first letter when there are more than this number of items. Default: 100. Set to a
large number to disable grouping.
--url-prefix
Prefix to prepend to all URLs. Useful for reverseproxying to this server from Apache/nginx/etc.
--with-library
Path to the library folder to serve with the content server
--pidfile
Write process PID to the specified file
--daemonize
Run process in background as a daemon. No effect on windows.
--restriction
Specifies a restriction to be used for this invocation. This option overrides any per-library settings specified in the GUI
--auto-reload
Auto reload server when source code changes. May not work in all environments.
SEE ALSO
The User Manual is available at http://manual.calibre-ebook.com
Created by Kovid Goyal <kovid@kovidgoyal.net>
calibre-server (calibre 0.8.51) January 2013 CALIBRE-SERVER(1)